ACM Home Page
Please provide us with feedback. Feedback
Optimal time-space trade-offs for non-comparison-based sorting
Full text PdfPdf (1.04 MB)
Source Symposium on Discrete Algorithms archive
Proceedings of the thirteenth annual ACM-SIAM symposium on Discrete algorithms table of contents
San Francisco, California
Pages: 9 - 18  
Year of Publication: 2002
ISBN:0-89871-513-X
Authors
Rasmus Pagh  University of Aarhus, DK-8000 Aarhus C, Denmark
Jakob Pagter  CRYPTOMAThIC, Kannikegade 14, 3., DK-8000 Aarhus C, Denmark
Sponsor
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
Publisher
Society for Industrial and Applied Mathematics  Philadelphia, PA, USA
Bibliometrics
Downloads (6 Weeks): 6,   Downloads (12 Months): 27,   Citation Count: 0
Additional Information:

abstract   references   collaborative colleagues  

Tools and Actions: Review this Article  

ABSTRACT

We study the problem of sorting n integers of w bits on a unit-cost RAM with word size w, and in particular consider the time-space trade-off (product of time and space in bits) for this problem. For comparison-based algorithms, the time-space complexity is known to be Θ(n2). A result of Beame shows that the lower bound also holds for non-comparison-based algorithms, but no algorithm has met this for time below the comparison-based Ω(nlgn) lower bound.We show that if sorting within some time bound &Ttilde; is possible, then time T = O(&Ttilde; + nlg* n) can be achieved with high probability using space S = O(n2/T + w), which is optimal. Given a deterministic priority queue using amortized time t(n) per operation and space nO(1), we provide a deterministic algorithm sorting in time T = O(n(t(n) + lg* n)) with S = O(n2/T + w). Both results require that wn1-Ω(1). Using existing priority queues and sorting algorithms, this implies that we can deterministically sort time-space optimally in time Θ(T) for Tn(lg lg n)2, and with high probability for Tnlg lg n.Our results imply that recent space lower bounds for deciding element distinctness in o(nlgn) time are nearly tight.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
2
 
3
4
 
5
 
6
 
7
 
8
 
9
 
10
 
11
Allan Borodin and Stephen Cook. A Time-Space Tradeoff for Sorting on a General Sequential Model of Computation. SIAM Journal on Computing, 11(2):287-297, 1982.
 
12
 
13
Allan Borodin, Michael J. Fischer, David G. Kirkpatrick, Nancy A. Lynch, and Martin Tompa. A Time-Space Tradeoff for Sorting on Non-Oblivious Machines. Journal of Computer and System Sciences, 22:351-364, 1981.
14
 
15
Alan Cobham. The Recognition Problem for the Set of Perfect Squares. In Conference Record of the 7th Annual Symposium on Switching and Automata Theory, pages 78-87. IEEE, 1966.
 
16
 
17
 
18
 
19
 
20
 
21
 
22
J. Ian Munro and Mike S. Paterson. Selection and Sorting with Limited Storage. Theoretical Computer Science, 12:315-323, 1980.
 
23
Jakob Pagter. On Ajtai's Lower Bound Technique for R-way Branching Programs and the Hamming Distance Problem. BRICS Report RS-00-11, Department of Computer Science, University of Aarhus, 2000.
 
24
 
25
 
26
 
27
 
28
Andrew Chi-Chih Yao. Probabilistic computations: toward a unified measure of complexity (extended abstract). In Proceedings of the 18th Annual Symposium on Foundations of Computer Science, pages 222-227. IEEE, 1977.
 
29
Collaborative Colleagues:
Rasmus Pagh: colleagues
Jakob Pagter: colleagues