Skip to content

Commit d6cd9e6

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

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
@@ -176,6 +176,7 @@ def insert(self, *values: int) -> BinarySearchTree:
176176
for value in values:
177177
self.__insert(value)
178178
return self
179+
179180
def search(self, value: int) -> Node | None:
180181
if self.empty():
181182
raise IndexError("Warning: Tree is empty! please use another.")

0 commit comments

Comments
 (0)