Search lowest common ancestor of in a Binary Tree

O(N) solution. Just parsing tree once.