Pregunta de entrevista de Lutron Electronics

Remove all duplicates from a passed in array.