Comcast interview question

Remove duplicate numbers from an array