This commit is contained in:
mjk22071998 2024-10-01 15:43:52 +05:00
commit 53bd3be495

View File

@ -337,6 +337,7 @@ class SortedLinkedList:
return
else:
temp : Optional[Node] = other_list.head
while temp:
self.insert(temp.data)
temp = temp.next_node