Program to learn dynamic programming
Program to remove the duplicates from linked list in O(n) and no extra space