Data structures · Binary search trees

Searching a BST

A binary search tree answers "is it there?" by walking one path from the root, not by looking at every value.