Practical in-place merging

  • Authors:
  • Bing-Chao Huang;Michael A. Langston

  • Affiliations:
  • Washington State Univ., Pullman;Washington State Univ., Pullman

  • Venue:
  • Communications of the ACM
  • Year:
  • 1988

Quantified Score

Hi-index 48.22

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.