Paper record

W2069153338

A Simple Algorithm for Merging Two Disjoint Linearly Ordered Sets

F. K. Hwang, Shengmao Lin

Year
1972
Venue
SIAM Journal on Computing
References
1
Cited by
154

Details and counts from OpenAlex.

Abstract

In this paper we present a new algorithm for merging two linearly ordered sets which requires substantially fewer comparisons than the commonly used tape merge or binary insertion algorithms. Bounds on the difference between the number of comparisons required by this algorithm and the information theory lower bounds are derived. Results from a computer implementation of the new algorithm are given and compared with a similar implementation of the tape merge algorithm.