Pergunta de entrevista da empresa Infosys

The easiest problem required finding all nodes with duplicate values in a given tree structure.