Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
Upper Bounds for Sorting Integers on Random Access MachinesSeptember 1981
1981 Technical Report
Publisher:
  • University of British Columbia
  • Dept. of Computer Science Vancouver, B.C. V6T 1W5
  • Canada
Published:01 September 1981
Reflects downloads up to 09 Nov 2024Bibliometrics
Skip Abstract Section
Abstract

Two models of Random Access Machines suitable for sorting integers are presented. Our main results show that i) a RAM with addition, subtraction, multiplication, and integer division can sort $n$ integers in the range $[0,2^{cn}]$ in $O(n \log c + n)$ steps; ii) a RAM with addition, subtraction, and left and right shifts can sort any $n$ integers in linear time; iii) a RAM with addition, subtraction, and left and right shifts can sort $n$ integers in the range $[0,n^{C}]$ in $O(n \log c + n)$ steps, where all intermediate results are bounded in value by the largest input.

Contributors
  • Bielefeld University

Recommendations