Pergunta de entrevista da empresa Ingenuity Gaming

Some int array based questions, like find duplicates.