Data structures · Binary search trees

Smallest, largest, sorted

The order in a binary search tree gives the smallest and largest values for one walk down, and a sorted list for one traversal.