Skip to content

Commit fe5ee62

Browse files
authored
Update remove-duplicates-from-sorted-list-ii.py
1 parent a76f684 commit fe5ee62

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Python/remove-duplicates-from-sorted-list-ii.py

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def deleteDuplicates(self, head):
2828
:rtype: ListNode
2929
"""
3030
dummy = ListNode(0)
31-
dummy.next = head
3231
pre, cur = dummy, head
3332
while cur:
3433
if cur.next and cur.next.val == cur.val:

0 commit comments

Comments
 (0)