Skip to main content
Log in

On selecting thek largest with median tests

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

LetW itk(n) be the minimax complexity of selecting thek largest elements ofn numbersx 1,x 2,...,x n by pairwise comparisonsx i :x j . It is well known thatW 2(n) =n−2+ [lgn], andW k (n) = n + (k−1)lg n +O(1) for all fixed k ≥ 3. In this paper we studyW k (n), the minimax complexity of selecting thek largest, when tests of the form “Isx i the median of {x i ,x j ,x t }?” are also allowed. It is proved thatW2(n) =n−2+ [lgn], andW k (n) =n + (k−1)lg2 n +O(1) for all fixedk≥3.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. M. Ben-Or, Lower bounds for algebraic computation trees,Proceedings of the 15th ACM Symposium on Theory of Computing, 1983, pp. 80–86.

  2. D. Dobkin and R. J. Lipton, A lower bound of 1/2n2 on linear search tree programs for the knapsack problems,J. Comput. System Sci.,16 (1978), 413–417.

    Article  MATH  MathSciNet  Google Scholar 

  3. F. Fussenegger and H. N. Gabow, Using comparison trees to derive lower bounds for selection problems,J. Assoc. Comput. Mach.,26 (1979), 227–238.

    MATH  MathSciNet  Google Scholar 

  4. L. Hyafil, Bounds for selection,SIAM J. Comput.,5 (1976), 109–114.

    Article  MATH  MathSciNet  Google Scholar 

  5. D. G. Kirkpatrick, Topics in the complexity of combinatorial algorithms, Report TR 74, Computer Science Department, University of Toronto, 1974.

  6. S. S. Kislytsyn, On the selection of thek-th element of an ordered set by pairwise comparisons,Sibirsk Mat. Zh.,5 (1964), 557–564.

    Google Scholar 

  7. D. E. Knuth,The Art of Computer Programming, Vol. 3, Addison-Wesley, Reading, MA, 1973.

    Google Scholar 

  8. V. R. Pratt and F. F. Yao, On lower bounds for computing thei-th largest element,Proceedings of the 14th IEEE Symposium on Switching and Automata Theory, 1973, pp. 70–81.

  9. M. Rabin, Proving simultaneous positivity of linear forms,J. Comput. System Sci.,6 (1972), 639–350.

    Article  MATH  MathSciNet  Google Scholar 

  10. E. M. Reingold, Computing the maxima and the median,Proceedings of the 12th IEEE Symposium on Switching and Automata Theory, 1971, pp. 216–218.

  11. J. M. Steele and A. C. Yao, Lower bounds for algebraic decision trees,J. Algorithms,3 (1982), 1–8.

    Article  MATH  MathSciNet  Google Scholar 

  12. J. Stoer and C. Witzgall,Convexity and Optimization in Finite Dimensions I, Springer-Verlag, Berlin, 1970.

    Google Scholar 

  13. A. C. Yao, On the complexity of comparison problems using linear functions,Proceedings of the 16th Annual IEEE Symposium on Foundations of Computer Sciences, 1975, pp. 85–89.

  14. A. C. Yao, A lower bound to finding convex hulls,J Assoc. Comput. Mach.,28 (1981), 780–787.

    MATH  MathSciNet  Google Scholar 

  15. F. F. Yao, On lower bounds for selection problems, Ph.D. thesis, Massachusetts Institute of Technology, 1973.

Download references

Author information

Authors and Affiliations

Authors

Additional information

Communicated by C. K. Wong.

This research was supported in part by the National Science Foundation under Grant No. DCR-8308109.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Chi-Chih Yao, A. On selecting thek largest with median tests. Algorithmica 4, 293–300 (1989). https://doi.org/10.1007/BF01553891

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01553891

Key words

Navigation