Question DSA-TREE-0038
EasyA binary tree has root 1. Node 1's children are 2 (left) and 3 (right), and node 2's children are 4 (left) and 5 (right). What is the lowest common ancestor of nodes 4 and 5?
- A.
1
- B.
3
- C.
Sign up free to see the answer and a step-by-step explanation.