Skip to content

Commit 45fda87

Browse files
committed
remove duplicates
1 parent 0f471bd commit 45fda87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

remove duplicates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def duplicate(self):
3939
curr = self.head
4040
dup_value = dict()
4141
while curr:
42-
if curr.data in dup_value:
42+
if curr.data in dup_value:
4343
prev.next = curr.next
4444
curr = None
4545
else:

0 commit comments

Comments
 (0)