Surescripts Interview Question

Find duplicates within dictionary elements