PayPal Interview Question

Write a program to find the lowest common ancestor for the given 2 nodes of a binary tree [Leetcode 236].