Pregunta de entrevista de People Group

Find the duplicate elements in an array.