Draup Interview Question

Write a code to remove duplicates from list?