RemoveDups
problem
Write code to remove duplicates from an unsorted linked list without using a temporary buffer.
how to solve
If I can use a temporary buffer, I recommend to use hash table. But in this case, I have to compare two elements to check that they are duplicated or not by using brute force search.