mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-08 06:45:54 +00:00
Fixed typo in merge function
This commit is contained in:
parent
fdbea27d41
commit
8334ee6032
@ -336,7 +336,7 @@ class SortedLinkedList:
|
||||
self.tail = other_list.tail
|
||||
return
|
||||
else:
|
||||
temp=otherother_list.head
|
||||
temp=other_list.head
|
||||
while temp:
|
||||
self.insert(temp.data)
|
||||
temp=temp.next_node
|
||||
|
Loading…
x
Reference in New Issue
Block a user