Pergunta de entrevista da empresa C&C Computer Solutions

Nearest parent in a binary tree that has parent attribute