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).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
S. Albers and T. Hagerup, Improved parallel integer sorting without concurrent writing, Information and Computation, 136, 25–51 (1997).
A. Andersson, Fast deterministic sorting and searching in linear space, Proc. 1996 IEEE Symp. on Foundations of Computer Science, 135–141 (1996).
A. Andersson, T. Hagerup, S. Nilsson, R. Raman, Sorting in linear time? Proc. 1995 Symposium on Theory of Computing, 427–436(1995).
M.L. Fredman, D.E. Willard, Surpassing the information theoretic bound with fusion trees, J. Comput. System Sci. 47, 424–436(1994).
R. Cole, An optimally efficient selection algorithm, Information Processing Letters, 26, 295–299(1987/88).
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).
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).
D. Kirkpatrick and S. Reisch, Upper bounds for sorting integers on random access machines, Theoretical Computer Science 28, 263–276(1984).
F. T. Leighton, Introduction to Parallel Algorithms and Architectures: Arrays, Trees, Hypercubes, Morgan Kaufmann Publ., San Mateo, CA. 1992.
R. Raman, Priority queues: small, monotone and trans-dichotomous, Proc. 1996 European Symp. on Algorithms, Lecture Notes in Computer Science 1136, 121–137(1996).
M. Thorup. Fast deterministic sorting and priority queues in linear space, Proc. 1998 ACM-SIAM Symp. on Discrete Algorithms (SODA’98), 550–555(1998).
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).
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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