Perk interview question

Find the duplicate numbers from an array.