Pregunta de entrevista de Capgemini

Write the code to remove duplicates from array.