Solution Review: Find Min

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

We'll cover the following

Solution

In a BST, the leftmost child of the tree will be the node with the minimum value. We will iteratively traverse the left subtree until we hit the leaf node as shown in the slide below:

Get hands-on with 1400+ tech skills courses.