Pregunta de entrevista de Dell Technologies

how to remove duplicates from an array