Siemens interview question

Finding the Duplicates in a List.