UKG Interview Question

Find duplicates in a list