tree traversal answers
common ancestor without parent node