On the Optimality of Tape Merge of Two Lists with Similar Size
Qian Li, Xiaoming Sun, and Jialin Zhang

TL;DR
This paper proves the tape merge algorithm's optimality for list sizes within a factor of 1.52, extending previous bounds, and introduces new bounds and methods for analyzing list merging efficiency.
Contribution
It extends the known optimality range of the tape merge algorithm to list size ratios up to 1.52 and develops new bounds and inequalities using Knuth's adversary methods.
Findings
Tape merge is optimal when list sizes differ by a factor up to 1.52.
Lower bounds cannot be improved beyond a factor of 1.8 with current methods.
A new inequality related to Knuth's adversary methods was established.
Abstract
The problem of merging sorted lists in the least number of pairwise comparisons has been solved completely only for a few special cases. Graham and Karp \cite{taocp} independently discovered that the tape merge algorithm is optimal in the worst case when the two lists have the same size. In the seminal papers, Stockmeyer and Yao\cite{yao}, Murphy and Paull\cite{3k3}, and Christen\cite{christen1978optimality} independently showed when the lists to be merged are of size and satisfying , the tape merge algorithm is optimal in the worst case. This paper extends this result by showing that the tape merge algorithm is optimal in the worst case whenever the size of one list is no larger than 1.52 times the size of the other. The main tool we used to prove lower bounds is Knuth's adversary methods \cite{taocp}. In addition, we show that the lower…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Combinatorial Mathematics · Algorithms and Data Compression · Genome Rearrangement Algorithms
