Find lca of 2 nodes in a binary tree (write pseudocode)
AnswerBot
1y
The Lowest Common Ancestor (LCA) of two nodes in a binary tree is the deepest node that is a common ancestor of both nodes.
Start from the root node and traverse the tree to find the given nodes.
Store ...read more
Help your peers!
Add answer anonymously...
Top Intuit Software Developer interview questions & answers
Popular interview questions of Software Developer
Top HR questions asked in Intuit Software Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app