How can you construct a balanced binary search tree when you're given a sorted array.
Anonymous
create a recursive function that sets the parent node to the midpoint array and the left child is the recursive call of first half of the array, right child is 2nd half of the array.
Check out your Company Bowl for anonymous work chats.