Data structures · Binary search trees

The search-tree rule

A tree that keeps its values in order lets a search skip a whole side at every step, as long as the order holds everywhere.