Pergunta de entrevista da empresa Next Insurance

Find a perfect sub-tree in a binary search tree