J.P. Morgan interview question

find duplicates in an array