Computer science Algorithms as mathematical objects Concept
Merge sort
Summary
Merge sort is a divide-and-conquer sorting algorithm.
It splits the list into two halves, sorts each half recursively, and merges the two sorted halves into one sorted list.
It uses comparisons in the worst case, which is optimal for comparison sorts up to a constant factor, and it is stable.
Mathlib formalizes it as List.mergeSort.
Further reading
About this page
| Tag | GNGVP9EE8Y |
|---|---|
| URI | m2://GNGVP9EE8Y |
| Kind | concept |
| Writing | W0 stub |
| MSC | 68P10, 68W40 |
| Specializes | Sorting algorithm, Divide-and-conquer algorithm |
| Same as | |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.