MSD Interview Question

Q: How to remove duplicates from the collection?