Pregunta de entrevista de Brightspot

How to remove duplicate items in an array.