AlgorithmsSortingEdit on GitHubEdit history
Merge Sort
mergesort1945
A divide-and-conquer sort that splits the array in half, sorts each half, and merges them in linear time. It runs in O(n log n) worst-case time and is stable.
Origin
Lineage
Derived algorithms
Author statementlistsort.txt describes run-based merging and galloping merges as its core — github.com/python/cpython/blob/main/Objects/listsort.txt
Structural analysisCarries the recursive structure of merge sort over to a fixed comparator network
Structural analysisStructurally it is a merge sort whose extra memory is reduced to O(1) by stable in-place merging.
Structural analysisIt is a merging algorithm that performs the merge step of merge sort stably without a separate buffer.
Structural analysisIt is a variant of tape-based external merge sort that changes how runs are distributed in order to save merge passes.
Structural analysisIt splits the merge step of merge sort evenly so that several processors can perform it in parallel.
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…