Cognizant interview question

How to remove duplicate values from a list?