Skip to main content

Average-Case Complexity of Shellsort (Preliminary Version)

  • Conference paper
  • First Online:
Automata, Languages and Programming

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1644))

Abstract

We prove a general lower bound on the average-case complexity of Shellsort: the average number of data-movements (and comparisons) made by a p-pass Shellsort for any incremental sequence is Ω(pn1+1/p) for every p. The proof method is an incompressibility argument based on Kolmogorov complexity. Using similar techniques, the average-case complexity of several other sorting algorithms is analyzed.

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. H. Buhrman, T. Jiang, M. Li, and P. Vitányi, New applications of the incompressibility method, in the Proceedings of ICALP’99.

    Google Scholar 

  2. J. Incerpi and R. Sedgewick, Improved upper bounds on Shellsort, Journal of Computer and System Sciences, 31(1985), 210–224.

    Article  MathSciNet  Google Scholar 

  3. S. Janson and D.E. Knuth, Shellsort with three increments, Random Struct. Alg., 10 (1997), 125–142.

    Article  MathSciNet  Google Scholar 

  4. S.V. Kerov and A.M. Versik, Asymptotics of the Plancherel measure on symmetric group and the limiting form of the Young tableaux, Soviet Math. Dokl. 18 (1977), 527–531.

    MATH  Google Scholar 

  5. J.F.C. Kingman, The ergodic theory of subadditive stochastic processes, Ann. Probab. 1 (1973), 883–909.

    Article  Google Scholar 

  6. A.N. Kolmogorov, Three approaches to the quantitative definition of information. Problems Inform. Transmission, 1:1 (1965), 1–7.

    Google Scholar 

  7. D.E. Knuth, The Art of Computer Programming, Vol.3: Sorting and Searching, Addison-Wesley, 1973 (1st Edition), 1998 (2nd Edition).

    Google Scholar 

  8. M. Li and P.M.B. Vitányi, An Introduction to Kolmogorov Complexity and its Applications, Springer-Verlag, New York, 2nd Edition, 1997.

    Book  Google Scholar 

  9. B.F. Logan and L.A. Shepp, A variational problem for random Young tableaux, Advances in Math. 26 (1977), 206–222.

    Article  MathSciNet  Google Scholar 

  10. A. Papernov and G. Stasevich, A method for information sorting in computer memories, Problems Inform. Transmission, 1:3 (1965), 63–75.

    Google Scholar 

  11. C.G. Plaxton, B. Poonen and T. Suel, Improved lower bounds for Shellsort, Proc. 33rd IEEE Symp. Foundat. Comput. Sci., pp. 226–235, 1992.

    Google Scholar 

  12. V.R. Pratt, Shellsort and Sorting Networks, Ph.D. Thesis, Stanford Univ., 1972.

    Google Scholar 

  13. R. Sedgewick, Analysis of Shellsort and related algorithms, presented at the Fourth Annual European Symposium on Algorithms, Barcelona, September, 1996.

    Google Scholar 

  14. R. Sedgewick, Open problems in the analysis of sorting and searching algorithms, Presented at Workshop on Prob. Analysis of Algorithms, Princeton, 1997.

    Google Scholar 

  15. D.L. Shell, A high-speed sorting procedure, Commun. ACM, 2:7 (1959), 30–32.

    Article  Google Scholar 

  16. R.E. Tarjan, Sorting using networks of queues and stacks, Journal of the ACM, 19 (1972), 341–346.

    Article  MathSciNet  Google Scholar 

  17. A.C.C. Yao, An analysis of (h; k; 1)-Shellsort, J. of Algorithms, 1 (1980), 14–50.

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1999 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Jiang, T., Li, M., Vitányi, P. (1999). Average-Case Complexity of Shellsort (Preliminary Version) . In: Wiedermann, J., van Emde Boas, P., Nielsen, M. (eds) Automata, Languages and Programming. Lecture Notes in Computer Science, vol 1644. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-48523-6_42

Download citation

  • DOI: https://doi.org/10.1007/3-540-48523-6_42

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-66224-2

  • Online ISBN: 978-3-540-48523-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics