Skip to content

Commit d3e8723

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0d7a599 commit d3e8723

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

data_structures/binary_tree/binary_search_tree.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ def insert(self, *values: int) -> BinarySearchTree:
175175
for value in values:
176176
self.__insert(value)
177177
return self
178+
178179
def search(self, value: int) -> Node | None:
179180
if self.empty():
180181
raise IndexError("Warning: Tree is empty! please use another.")

0 commit comments

Comments
 (0)