find lowest common ancestor with parent pointer. #lca #tree #binarytree O(1) space and O(n) time.