Discrete math · Trees and graph algorithms
Searching a sorted table is closely related to a balanced tree, and its height tells how many probes the search needs.