mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-08 14:55:53 +00:00
Merge branch 'master' of https://github.com/mjk22071998/Python
This commit is contained in:
commit
53bd3be495
@ -336,7 +336,8 @@ class SortedLinkedList:
|
||||
self.tail = other_list.tail
|
||||
return
|
||||
else:
|
||||
temp: Optional[Node]=other_list.head
|
||||
temp : Optional[Node] = other_list.head
|
||||
|
||||
while temp:
|
||||
self.insert(temp.data)
|
||||
temp = temp.next_node
|
||||
|
Loading…
x
Reference in New Issue
Block a user