Pregunta de entrevista de Gameberry Labs

Find duplicates in an array.