Microsoft Interview Question

Removing duplicates from a single linked list