FactSet Interview Question

Finding duplicates in a list