Masaq Index
arXiv 2003-12-23 0 views

Randomized selection with quintary partitions

Kiwiel, Krzysztof C.

Original · EN

We show that several versions of Floyd and Rivest's algorithm Select for finding the kth smallest of n elements require at most n+{k,n-k}+o(n) comparisons on average and with high probability. This rectifies the analysis of Floyd and Rivest, and extends it to the case of nondistinct elements. Our computational results confirm that Select may be the best algorithm in practice.

English translation

This paper has no Arabic translation yet. Be the first: it takes a few seconds, and the result is stored for every future reader.

Security check

Type the characters above

Up to 10 translations per person per day.