Break the CODE!!!
All about coding, algos, puzzles and big data
Tuesday, October 23, 2012
Least Common Ancestor in Binary Tree
Given a Binary Tree (
not Binary Search Tree
), and two nodes A and B. Find the closest common ancestor for both the nodes.
Solution
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment