Snip
|
Abstract: Two in-place variants of the classical mergeso... analysed in detail. The first, straightforward variant p... log 2 N + O(N ) comparisons and 3N log 2 N + O(N ) moves... elements. The second, more advanced variant requires at ... O(N ) compa
|
---|
Categories |
|
---|
For Snip |
loading snip actions ... |
---|---|
For Page |
loading url actions ... |
HTML |
<b>Abstract:</b> Two in-place variants of the classical mergesort algorithm are analysed in detail. The first, straightforward variant performs at most N log 2 N + O(N ) comparisons and 3N log 2 N + O(N ) moves to sort N elements. The second, more advanced variant requires at most N log 2 N + O(N ) comparisons and "N log 2 N moves, for any fixed " ? 0 and any N ? N ("). In theory, the second one is superior to advanced versions of heapsort. In practice, due to the overhead in the index manipulation, our... |
---|