Infosys Interview Question

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