Siemens Interview Question

Finding the Duplicates in a List.