Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Commit cba141b

Browse files
Update bst_convert_sorted_array.py
1 parent 75bb027 commit cba141b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

trees/bst_convert_sorted_array.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@
22
# -*- coding: utf-8 -*-
33
# author: bt3gl
44

5-
# note that there is no unique solution, and different choices
6-
# for the root node would reflect on p is defined
75

8-
9-
def convert_sorted_array_bst(nums):
6+
def convert_sorted_array_to_bst(nums):
107

118
def helper(left, right):
129

0 commit comments

Comments
 (0)