Discrete math · Trees and graph algorithms

Search trees and lookup tables

Searching a sorted table is closely related to a balanced tree, and its height tells how many probes the search needs.