Content deleted Content added
Line 94:
One can show that no comparison-based K-Way Merge algorithm exists with a running time in O(n f(k)) where f grows asymptotically slower than a logarithm.
The proof is a straight forward reduction from comparison-based sorting.
Suppose that such an algorithm existed, then we
Chop the input array into n arrays of size 1.
Merge these n arrays with the K-Way Merge algorithm.
|