NVIDIA interview question

Remove duplicates from a list?