Ingenuity Gaming Interview Question

Some int array based questions, like find duplicates.