Microsoft interview question

Given a list. Remove all duplicates from it.