|
ABSTRACT
We consider problems such as selecting the k-th smallest of n numbers in as few comparisons as possible on average. n + k - 0(1) comparisons are proved to be necessary for this particular problem when k ≤ n/2. This shows a technique of Floyd and Rivest is essentially optimal. 7n/4 &equil; o(n) comparisons, on average, are shown to be necessary and sufficient to find the maximum and median of a set. An upper bound of 9n/4 + o(n) and a lower bound of 2n − o(n) are shown for the max-min-median problem.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
Blum, M., Floyd,.R., Pratt, V., Rivest, R., and Tarjan, R., Time Bounds for Selection, JCSS 7, 448-461 (1973).
|
| |
2
|
Dobkin, D.P., Eisenstat, S., Lipton, R.J., Munro, J.I., and Snyder, L., The Complexity of a Problem in Epidemiology, unpublished manuscript (1976).
|
 |
3
|
|
 |
4
|
|
 |
5
|
|
| |
6
|
Pohl, I., Minimean Optimality in Sorting Algorithms, 16th IEEE SWAT, 71-74 (1975).
|
 |
7
|
|
|