Pregunta de entrevista de Ingenuity Gaming

Some int array based questions, like find duplicates.