Aline Global Interview Question

Find duplicate in an array