@@ -0,0 +1,1147 @@
+import java.util.*;%0Aclass ListNode %7B%0A    int val;%0A    ListNode next = null;%0A%0A    ListNode(int val) %7B%0A        this.val = val;%0A    %7D%0A%7D%0A%0Apublic class DeleteDuplicatedListNode %7B%0A    public ListNode deleteDuplication(ListNode pHead)%0A    %7B%0A        if(pHead == null)%0A            return null;%0A        ListNode preNode = null;%0A        ListNode node = pHead;%0A        while(node != null)%7B%0A            ListNode pNext = node.next;%0A            if(pNext != null && node.val == pNext.val)%7B%0A            %09int value = node.val;%0A                ListNode toBeDel = node;%0A                while(toBeDel != null && toBeDel.val == value)%7B%0A                    pNext = toBeDel.next;%0A                    if(preNode == null)%7B%0A                        toBeDel = pNext;%0A                        pHead = toBeDel;%0A                        %0A                    %7Delse%7B%0A                        preNode.next = toBeDel.next;%0A                        toBeDel = pNext;%0A                    %7D%0A                    node = pNext;%0A                %7D%0A            %7D%0A            else%7B%0A                preNode = node;%0A                node = pNext;%0A            %7D%0A        %7D%0A        return pHead;%0A    %7D%0A%7D%0A

Create DeleteDuplicatedListNode.java