Attend interview question

Find a duplicated element in array.