Draup interview question

Write a code to remove duplicates from list?