This commit is contained in:
mjk22071998 2024-10-01 15:45:34 +05:00
commit 36480f4c27

View File

@ -337,7 +337,7 @@ 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)