Pergunta de entrevista da empresa IBM

Determine if array has duplicate elements or not.

Resposta da entrevista

Sigiloso

4 de jun. de 2018

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