Amazon interview question

Find the duplicates in an array?