Practical in-place merging

  • Authors:
  • B.-C. Huang;M. A. Langston

  • Affiliations:
  • Department of Computer Science, Washington State University, Pullman, WA;Department of Computer Science, Washington State University, Pullman, WA

  • Venue:
  • ACM '87 Proceedings of the 1987 Fall Joint Computer Conference on Exploring technology: today and tomorrow
  • Year:
  • 1987

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a novel, yet straightforward linear-time algorithm for merging two sorted lists 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.