Domanda di colloquio di Surescripts

Find duplicates in dictionary elements with a reasonable time/space complexity