Microsoft Interview Question

Traverse through a linked list and remove duplicates