Fast Stable Merging and Sorting in Constant Extra Space
Author(s) -
B.-C. Huang,
Michael A. Langston
Publication year - 1992
Publication title -
the computer journal
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.319
H-Index - 64
eISSN - 1460-2067
pISSN - 0010-4620
DOI - 10.1093/comjnl/35.6.643
Subject(s) - merge (version control) , computer science , offset (computer science) , merge algorithm , algorithm , merge sort , upper and lower bounds , sorting , sorting algorithm , theoretical computer science , parallel computing , mathematics , programming language , mathematical analysis
In an earlier research paper 9 , we presented a novel, yet straightforward linear-time algorithm for merging two sorted list in a fixed amount of additional space. Constant of proportionality estimates and empirical testing reveal that this procedure is reasonably competitive with merge routines free to squander unbounded additional memory, making it particularly attractive whenever space is a critical resource. In this paper, we divise a relatively simple strategy by which this efficient merge can be made stable, and extend our results in a nontrivial way to the problem of stable sorting by merging
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom