Remove duplicates from an unsorted linked list, no extra space allowed.