Loading series
Preparing the reading order…
A nine-part guide to merge sort, from divide and conquer and implementations to natural, parallel, linked-list, and external merge strategies.

Understand divide and conquer and follow a merge sort example step by step.
Implement stable merge sort in Python and understand its time and memory costs.
Sort data larger than memory using sorted runs and balanced multiway merging.
Compare iterative two-way and polyphase merging for sorted runs.
Implement merge sort with iterative passes, handle incomplete runs, and test edge cases.
Use existing ordered runs to reduce merge work on partially sorted data.
Sort linked lists by splitting and relinking nodes while preserving stable order.
Explore parallel recursive sorting and merging, work distribution, and practical limits.
Understand tape roles, run counts, dummy runs and how to validate a polyphase schedule.