A fast merging algorithm

  • Authors:
  • Mark R. Brown;Robert E Tarjan

  • Affiliations:
  • -;-

  • Venue:
  • A fast merging algorithm
  • Year:
  • 1977

Quantified Score

Hi-index 0.00

Visualization

Abstract

We give an algorithm which merges sorted lists represented as balanced binary trees. If the lists have lengths m and n (m $\leq$ n), then the merging procedure runs in O(m log n/m) steps, which is the same order as the lower bound on all comparison-based algorithms for this problem.