Pregunta de entrevista de Ciena

Remove elements that are not duplicate in an array