Question d’entretien chez ADP

How would you find duplicates in an array?