Google Interview Question

Lowest Common Ancestor(LCA) Problem on leetcode(a little modified version)