Skip to main content

Fast Integer Sorting in Linear Space

  • Conference paper
  • First Online:
STACS 2000 (STACS 2000)

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

Included in the following conference series:

Abstract

We present a fast deterministic algorithm for integer sorting in linear space. Our algorithm sorts n integers in linear space in O(n(log log n)1.5) time. This improves the O(n(log log n)2) time bound given in [11]. This result is obtained by combining our new technique with that of Thorup’s [11]. The approach and technique we provide are totally different from previous approaches and techniques for the problem. As a consequence our technique can be extended to apply to nonconservative sorting and parallel sorting. Our nonconservative sorting algorithm sorts n integers in 0, 1, ..., m − 1 in time O(n(log log n)2/(log k+log log log n)) using word length k log(m + n), where k ≤ log n. Our EREW parallel algorithm sorts n integers in 0, 1, ..., m − 1 in O((log n)2) time and O(n(log log n)2/log log log n) operations provided logm = π ((log n)2).

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. S. Albers and T. Hagerup, Improved parallel integer sorting without concurrent writing, Information and Computation, 136, 25–51 (1997).

    Article  MATH  MathSciNet  Google Scholar 

  2. A. Andersson, Fast deterministic sorting and searching in linear space, Proc. 1996 IEEE Symp. on Foundations of Computer Science, 135–141 (1996).

    Google Scholar 

  3. A. Andersson, T. Hagerup, S. Nilsson, R. Raman, Sorting in linear time? Proc. 1995 Symposium on Theory of Computing, 427–436(1995).

    Google Scholar 

  4. M.L. Fredman, D.E. Willard, Surpassing the information theoretic bound with fusion trees, J. Comput. System Sci. 47, 424–436(1994).

    Article  MathSciNet  Google Scholar 

  5. R. Cole, An optimally efficient selection algorithm, Information Processing Letters, 26, 295–299(1987/88).

    Article  MathSciNet  Google Scholar 

  6. Y. Han, X. Shen, Conservative algorithms for parallel and sequential integer sorting, Proc. 1995 International Computing and Combinatorics Conference, Lecture Notes in Computer Science 959, 324–333(August, 1995).

    Google Scholar 

  7. Y. Han, X. Shen, Parallel integer sorting is more efficient than parallel comparison sorting on exclusive write PRAMs. Proc. 1999 Tenth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA’99), Baltimore, Maryland, 419–428(January 1999).

    Google Scholar 

  8. D. Kirkpatrick and S. Reisch, Upper bounds for sorting integers on random access machines, Theoretical Computer Science 28, 263–276(1984).

    Article  MATH  MathSciNet  Google Scholar 

  9. F. T. Leighton, Introduction to Parallel Algorithms and Architectures: Arrays, Trees, Hypercubes, Morgan Kaufmann Publ., San Mateo, CA. 1992.

    MATH  Google Scholar 

  10. R. Raman, Priority queues: small, monotone and trans-dichotomous, Proc. 1996 European Symp. on Algorithms, Lecture Notes in Computer Science 1136, 121–137(1996).

    Google Scholar 

  11. M. Thorup. Fast deterministic sorting and priority queues in linear space, Proc. 1998 ACM-SIAM Symp. on Discrete Algorithms (SODA’98), 550–555(1998).

    Google Scholar 

  12. M. Thorup. Randomized sorting in O(n log log n) time and linear space using addition, shift, and bit-wise boolean operations, Proc. 8th ACM-SIAM Symp. on Discrete Algorithms (SODA’97), 352–359(1997).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2000 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Han, Y. (2000). Fast Integer Sorting in Linear Space. In: Reichel, H., Tison, S. (eds) STACS 2000. STACS 2000. Lecture Notes in Computer Science, vol 1770. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46541-3_20

Download citation

  • DOI: https://doi.org/10.1007/3-540-46541-3_20

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-67141-1

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

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics