Attend Interview Question

Find a duplicated element in array.