Skip to main content

Randomized Sorting of Shuffled Monotone Sequences

  • Chapter

Abstract

A sorting algorithm is adaptive if it sorts in time proportional to the length and the disorder of the input [6]. That is, when the input is nearly sorted, sorting is fast and only on randomly permuted inputs does it take O(n log n) comparisons. The main motivation behind adaptive sorting is that, in practice, nearly sorted inputs are more frequent, as opposed to the usual assumption for expected-case analysis that all inputs are equally likely.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. V. Estivill-Castro. Sorting and Measures of Disorder. PhD thesis, University of Waterloo, 1991. Åvailable as Department of Computer Science Research Report CS-91-07.

    Google Scholar 

  2. W.D. Frazer and A. C. McKellar. Samplesort: A sampling approach to minimal storage tree sorting. Journal of the ACM, 17(3):496–507, July 1970.

    Article  MathSciNet  MATH  Google Scholar 

  3. D.E. Knuth. The Art of Computer Programming, Vol.2: Seminumerical Algorithms. Addison-Wesley Publishing Co., Reading, Mass., 1973.

    Google Scholar 

  4. C. Levcopoulos and O. Petersson. Sorting shuffled monotone sequences. In J.R. Gilbert and R. Karlsson, editors, Proceedings of the 2nd Scandinavian Workshop on Algorithm Theory, pages 181–191, Bergen, Sweden, 1990. Springer-Verlag Lecture Notes in Computer Science 447.

    Google Scholar 

  5. H. Mannila. Measures of presortedness and optimal sorting algorithms. IEEE Transactions on Computers, C-34:318–325, 1985.

    Article  MathSciNet  Google Scholar 

  6. K. Mehlhorn. Data Structures and Algorithms, Vol 1: Sorting and Searching. EATCS Monographs on Theoretical Computer Science. Springer-Verlag, Berlin/Heidelberg, 1984.

    Google Scholar 

  7. F. Mosteller. Fifty Challenging Problems in Probability with Solutions. Addison-Wesley Publishing Co., Reading, Mass., 1965.

    Google Scholar 

  8. S.S. Skiena. Encroaching lists as a measure of presortedness. BIT, 28:755–784, 1988.

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1992 Springer Science+Business Media New York

About this chapter

Cite this chapter

Estivill-Castro, V., Wood, D. (1992). Randomized Sorting of Shuffled Monotone Sequences. In: Baeza-Yates, R., Manber, U. (eds) Computer Science. Springer, Boston, MA. https://doi.org/10.1007/978-1-4615-3422-8_13

Download citation

  • DOI: https://doi.org/10.1007/978-1-4615-3422-8_13

  • Publisher Name: Springer, Boston, MA

  • Print ISBN: 978-1-4613-6513-6

  • Online ISBN: 978-1-4615-3422-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics