Pergunta de entrevista da empresa Zocdoc

Write a program to find the highest descendant of a binary tree given two nodes of the tree. the node structure contained parent, left, and right.