Question d’entretien chez KoderLabs

How would you check if an array has duplicates