Skip to main content

Towards Optimal Multiple Selection

  • Conference paper
Automata, Languages and Programming (ICALP 2005)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 3580))

Included in the following conference series:

Abstract

The multiple selection problem asks for the elements of rank r 1, r 2, ..., r k from a linearly ordered set of n elements. Let B denote the information theoretic lower bound on the number of element comparisons needed for multiple selection. We first show that a variant of multiple quickselect — a well known, simple, and practical generalization of quicksort — solves this problem with \(B+\mathcal{O}(n)\) expected comparisons. We then develop a deterministic divide-and-conquer algorithm that solves the problem in \(\mathcal{O}(B)\) time and \(B+o(B)+\mathcal{O}(n)\) element comparisons.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Blelloch, G.E., Leiserson, C.E., Maggs, B.M., Plaxton, C.G., Smith, S.J., Zagha, M.: A comparison of sorting algorithms for the connection machine CM-2. In: 3rd ACM Symposium on Parallel Algorithms and Architectures, pp. 3–16 (1991)

    Google Scholar 

  2. Blum, M., Floyd, R.W., Pratt, V.R., Rivest, R.L., Tarjan, R.E.: Time bounds for selection. Journal of Computer and System Sciences 7(4), 448–461 (1973)

    Article  MATH  MathSciNet  Google Scholar 

  3. Chambers, J.: Partial sorting (algorithm 410). Communications of the ACM 14, 357–358 (1971)

    Article  Google Scholar 

  4. Cunto, W., Munro, J.I.: Average case selection. J. ACM 36(2), 270–279 (1989)

    Article  MATH  MathSciNet  Google Scholar 

  5. Dobkin, D.P., Munro, J.I.: Optimal time minimal space selection algorithms. Journal of the ACM 28(3), 454–461 (1981)

    Article  MATH  MathSciNet  Google Scholar 

  6. Dor, D., Zwick, U.: Selecting the median. In: SODA: ACM-SIAM Symposium on Discrete Algorithms (1995)

    Google Scholar 

  7. Floyd, R.W., Rivest, R.L.: Expected time bounds for selection. Commun. ACM 18(3), 165–172 (1975)

    Article  MATH  Google Scholar 

  8. Hoare, C.A.R.: Find (algorithm 65). Communications of the ACM 4(7), 321–322 (1961)

    Article  Google Scholar 

  9. Ford Jr., L.R., Johnson, S.B.: A tournament problem. AMM 66(5), 387–389 (1959)

    MATH  MathSciNet  Google Scholar 

  10. Motwani, R., Raghavan, P.: Randomized Algorithms. Cambridge University Press, Cambridge (1995)

    MATH  Google Scholar 

  11. Panholzer, A.: Analysis of multiple quickselect variants. Theor. Comput. Sci. 302(1-3), 45–91 (2003)

    Article  MATH  MathSciNet  Google Scholar 

  12. Pohl, I.: A sorting problem and its complexity. Commun. ACM 15(6), 462–464 (1972)

    Article  MATH  Google Scholar 

  13. Prodinger, H.: Multiple quickselect - Hoare’s find algorithm for several elements. Information Processing Letters 56, 123–129 (1995)

    Article  MATH  MathSciNet  Google Scholar 

  14. Schönhage, A., Paterson, M., Pippenger, N.: Finding the median. J. Comput. Syst. Sci. 13, 184–199 (1976)

    Article  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Kaligosi, K., Mehlhorn, K., Munro, J.I., Sanders, P. (2005). Towards Optimal Multiple Selection. In: Caires, L., Italiano, G.F., Monteiro, L., Palamidessi, C., Yung, M. (eds) Automata, Languages and Programming. ICALP 2005. Lecture Notes in Computer Science, vol 3580. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11523468_9

Download citation

  • DOI: https://doi.org/10.1007/11523468_9

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-27580-0

  • Online ISBN: 978-3-540-31691-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics