Pregunta de entrevista de Prowareness

Asked to write the code duplicate elements in an array