arXiv · 2304.12313
Median of heaps: linear-time selection by recursively constructing binary heaps
Abstract
The first worst-case linear-time algorithm for selection was discovered in 1973; however, linear-time binary heap construction was first published in 1964. Here we describe another worst-case linear selection algorithm,which is simply implemented and uses binary heap construction as its principal engine. The algorithm is implemented in place, and shown to perform similarly to in-place median of medians.
Explore related subjects
Keep this discovery
Oliver Serang. 2023-04-24. Median of heaps: linear-time selection by recursively constructing binary heaps. https://arxiv.org/abs/2304.12313
Cite the original work for its findings. Save a collection to share your selection of sources.