Question d’entretien chez ADP

find duplicate in array within n time