codeintuition-logo

Understanding recursive maximum search


Finding the maximum value in a binary search tree recursively is similar to finding the minimum. We must traverse to the tree's first node's RNL sequence. 

Algorithm

Let us look at the recursive algorithm to find the maximum value in a binary search tree quickly. A simple recursive equation can summarise the search process we followed above.

Liking the course? Check our discounted plans to continue learning.