Pregunta de entrevista de Paycom

Coding question about unique numbers in a array