People Group Interview Question

Find the duplicate elements in an array.