[prev] 9 [next]

Two-way Merge Sort (cont)

Requires three in-memory buffers:

[Diagram:Pics/scansortproj/two-way-buf.png]


Assumption: cost of merge on two buffers ≅ 0.