Question d’entretien chez Amazon

Find the duplicates in an array?