Randomized selection in n + C + o(n) comparisons

  • Authors:
  • Alexandros V. Gerbessiotis;Constantinos J. Siniolakis

  • Affiliations:
  • CS Department, New Jersey Institute of Technology, Newark, NJ;The American College of Greece, 6 Gravias St., Aghia Paraskevi, Athens, 15342, Greece

  • Venue:
  • Information Processing Letters
  • Year:
  • 2003

Quantified Score

Hi-index 0.89

Visualization

Abstract

In this paper we present a randomized selection algorithm that with high probability 1 - 1/nρ, for any constant ρ 1 requires n + C + o(n) comparisons to determine the Cth order statistic of n keys thus matching a corresponding lower bound on the average number of comparisons required. Low order terms in the number of comparisons performed can also be reduced by extending the algorithm of Floyd and Rivest and analyzing its resulting performance more carefully.