mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-07 06:15:55 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
c2c9a9e357
commit
94d30b9ff3
@ -165,7 +165,7 @@ class SortedLinkedList:
|
|||||||
self.tail = temp_node
|
self.tail = temp_node
|
||||||
return True
|
return True
|
||||||
temp_node = temp_node.next_node
|
temp_node = temp_node.next_node
|
||||||
self.num_nodes-=1
|
self.num_nodes -= 1
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def search(self, data: int) -> bool:
|
def search(self, data: int) -> bool:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user