Affiliation:
1. Technological Univ., Eindhoven, The Netherlands
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 [log
2
(
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
× log
2
n
)/2 when the objects are sorted to begin with and (
n
× log
2
n
-
n
+ 1) as an upper limit. When
n
is not an integral power of 2, the above formulas are approximate.
Publisher
Association for Computing Machinery (ACM)
Reference2 articles.
1. Algorithm 271: quickersort
2. Bron C. Proof of a merge sort algorithm May 1971 (unpublished). Bron C. Proof of a merge sort algorithm May 1971 (unpublished).
Cited by
10 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Efficient Neighbour Search Algorithm for Nonlocal-Based Simulations—Application to Failure Mechanics;Journal of Failure Analysis and Prevention;2023-01-25
2. The Evolution of Search: Three Computing Paradigms;ACM Transactions on Management Information Systems;2022-03-10
3. Papers and Algorithms;Feedback Arc Set;2022
4. The QoS evaluation model for cloud resource node;International Journal of Sensor Networks;2021
5. FPGA-Accelerated Samplesort for Large Data Sets;Proceedings of the 2020 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays;2020-02-23