Pregunta de entrevista de iPay Systems

Find the duplicate number in an array?