An Efficient Algorithm for the Approximate Median Selection Problem

  • Authors:
  • Sebastiano Battiato;Domenico Cantone;Dario Catalano;Gianluca Cincotti;Micha Hofri

  • Affiliations:
  • -;-;-;-;-

  • Venue:
  • CIAC '00 Proceedings of the 4th Italian Conference on Algorithms and Complexity
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present an efficient algorithm for the approximate median selection problem. The algorithm works in-place; it is fast and easy to implement. For a large array it returns, with high probability, a very close estimate of the true median. The running time is linear in the length n of the input. The algorithm performs fewer than 4/3n comparisons and 1/3n exchanges on the average. We present analytical results of the performance of the algorithm, as well as experimental illustrations of its precision.