Pregunta de entrevista de Logos

Write an algorithm to find duplicate nodes in a binary tree.