Skip to content

Commit f5655fe

Browse files
committed
refactor
1 parent 7abe10b commit f5655fe

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

branch_sums.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from utils import bst
22

3-
# binary search tree
43
tree = bst.BSTNode(11)
54

65
tree.insert(7)

find_the_closest_value_in_BST.py

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717

1818
# Avg O(log(n)) time | Worst O(n) time | Avg O(log(n)) space | Worst O(n) space
19-
2019
def find_closest_value_in_bst1(btree, target):
2120
return find_closest_value_in_bst_helper1(btree, target, float("inf"))
2221

0 commit comments

Comments
 (0)