Thoughts Good thought Operate in the origin linklist Use a dummy node and a current node to link to the head of linklist if cur.next.val == cur.next.next.val, make cur.next points to cur.next.next; else make cur.next as cur