NVIDIA Interview Question

Remove duplicates from a list?