ACM Home Page
Please provide us with feedback. Feedback
Merge sort algorithm [M1]
Full text PdfPdf (182 KB)
Source
Communications of the ACM archive
Volume 15 ,  Issue 5  (May 1972) table of contents
Pages: 357 - 358  
Year of Publication: 1972
ISSN:0001-0782
Author
C. Bron  Technological Univ., Eindhoven, The Netherlands
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 15,   Downloads (12 Months): 72,   Citation Count: 3
Additional Information:

appendices and supplements   abstract   references   cited by   index terms  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/355602.361317
What is a DOI?


ABSTRACT

Sorting by means of a two-way merge has a reputation of requiring a clerically complicated and cumbersome program. This ALGOL 60 procedure demonstrates that, using recursion, an elegant and efficient algorithm can be designed, the correctness of which is easily proved [2]. Sorting n objects gives rise to a maximum recursion depth of [log2(n - 1) + 2]. This procedure is particularly suitable for sorting when it is not desirable to move the n objects physically in store and the sorting criterion is not simple. In that case it is reasonable to take the number of compare operations as a measure for the speed of the algorithm. When n is an integral power of 2, this number will be comprised between (n × log2n)/2 when the objects are sorted to begin with and (n × log2n - n + 1) as an upper limit. When n is not an integral power of 2, the above formulas are approximate.


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
Bron, C., Proof of a merge sort algorithm, May 1971 (unpublished).