Pergunta de entrevista da empresa Amazon

problem solving in binary trees