Searching for values in a tree

There are three types of searches that are usually performed in trees:

  • Searching for minimum values
  • Searching for maximum values
  • Searching for a specific value

Let’s take a look at each one in the following topics.

Get Learning JavaScript Data Structures and Algorithms - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.