Cognizant Interview Question

How to remove duplicate values from a list?