Question d’entretien chez Peloton Interactive

Find duplicate numbers in an array.