Stable Sorting and Merging with Optimal Space and Time Bounds
Author:
- Luis Trabb PardoLPLuis Trabb Pardo
- 1 June 1977
- journal article
- Published by Society for Industrial & Applied Mathematics (SIAM) in SIAM Journal on Computing
- Vol. 6 (2) , 351-372
Abstract
This work introduces two algorithms for stable merging and stable sorting of files. The algorithms have optimal worst case time bounds, the merge is linear and the sort is of order $n \log n$. Extra storage requirements are also optimal, since both algorithms make use of a fixed number of pointers. Files are handled only by means of the primitives exchange and comparison of records and basic pointer transformations.
Keywords
This publication has 3 references indexed in Scilit:
- A fast stable sorting algorithm with absolutely minimum storageTheoretical Computer Science, 1975
- A stable minimum storage sorting algorithmInformation Processing Letters, 1974
- Efficient stable sorting with minimal extra space1974