083.Remove Duplicates from Sorted List Posted on 2017-09-24 | In LeetCode Solution 1: accepted 1mspointer - slownext - fast 123456789101112public ListNode deleteDuplicates(ListNode head) { ListNode pointer = head; while (pointer != null) { ListNode next = pointer.next; while (next != null && pointer.val == next.val) { next = next.next; } pointer.next = next; pointer = pointer.next; } return head;}