Order Statistics

Definition The -th order statistic of a set of elements is

the th smallest element.

  • Minimum, maximum, and lower/upper median.
  • An algorithm that maintains both max and min requires at most comparisons.