Gameberry Labs interview question

Find duplicates in an array.