DIY: Lowest Common Ancestor of a Binary Tree
Solve the interview question "Lowest Common Ancestor of a Binary Tree" in this lesson.
Problem statement
Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.
Input
The ...