Pregunta de entrevista de IBM

Determine if array has duplicate elements or not.

Respuesta de la entrevista

Anónimo

4 de jun de 2018

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