Microsoft Interview Question

Given a list. Remove all duplicates from it.