...

/

Solution Review: Create a Binary Search Tree From the Sorted List

Solution Review: Create a Binary Search Tree From the Sorted List

Let’s take a detailed look at the previous challenge’s solution.

We'll cover the following...

Solution

Since the elements in the array are in sorted order, we want to create a binary search tree in which left subtree nodes have ...