mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-28 16:43:38 +00:00
Merge branch 'master' of https://github.com/mjk22071998/Python
This commit is contained in:
commit
36480f4c27
@ -337,7 +337,7 @@ class SortedLinkedList:
|
|||||||
self.tail = other_list.tail
|
self.tail = other_list.tail
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
temp : Optional[Node] = other_list.head
|
temp: Optional[Node] = other_list.head
|
||||||
|
|
||||||
while temp:
|
while temp:
|
||||||
self.insert(temp.data)
|
self.insert(temp.data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user