Standard Chartered Bank interview question

Reverse array and find duplicate elements in array.