Question d’entretien chez IBM

Determine if array has duplicate elements or not.

Réponse à la question d'entretien

Utilisateur anonyme

4 juin 2018

Sort array, then check ith and ith+1 position (O(nlogn) run time)