Lowest Common Ancestor of a Binary Tree Flashcards

1
Q

Lowest Common Ancestor of a Binary Tree

Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly