[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-10-01 10:44:25 +00:00
parent 53bd3be495
commit 0847316786

View File

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