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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
UA-36403895-1
No comments:
Post a Comment