K-way merge algorithm: Difference between revisions

Content deleted Content added
->, typo(s) fixed: merged together → merged, cannonical → canonical, transfering → transferring, straight-forward → straightforward (2), a O → an O using AWB
Line 40:
Fortunately, in border cases the running time can be better.
Consider for example the degenerate case, where all but one array contain only one element.
The stratedystrategy explained in the previous paragraph needs Θ(n log k) running time, while the improved one only needs Θ(n) running time.
 
=== Direct K-Way Merge ===