On lower bounds for selectinc the median

Dorit Dor*, Johan Håstad, Staffan Ulfberg, Uri Zwick

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

8 Scopus citations

Abstract

We present a reformulation of the 2n + o(n) lower bound of Bent and John [Proceedings of the 17th Annual ACM Symposium on Theory of Computing, 1985, pp. 213-216] for the number of comparisons needed for selecting the median of n elements. Our reformulation uses a weight function. Apart from giving a more intuitive proof for the lower bound, the new formulation opens up possibilities for improving it. We use the new formulation to show that any pair-forming median finding algorithm, i.e., a median finding algorithm that starts by comparing [n/2] disjoint pairs of elements must perform, in the worst case, at least 2.01n + o(n) comparisons. This provides strong evidence that selecting the median requires at least cn + o(n) comparisons for some c > 2.

Original languageEnglish
Pages (from-to)299-311
Number of pages13
JournalSIAM Journal on Discrete Mathematics
Volume14
Issue number3
DOIs
StatePublished - May 2001

Keywords

  • Comparison algorithms
  • Lower bounds
  • Median selection

Fingerprint

Dive into the research topics of 'On lower bounds for selectinc the median'. Together they form a unique fingerprint.

Cite this