arXiv:2609.01365cs.DSSep 2026

Manuscript Offprint

arXiv:2609.01365

Disproving the Greedy Superstring Conjecture

Hiroki Shibata

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The shortest common superstring problem is to find the shortest string that contains every string in a given set as a substring. It is conjectured that the greedy algorithm that repeatedly selects a pair of strings with maximum overlap and merges them is a 2-approximation algorithm, and this conjecture had remained open for nearly four decades. In this paper, we disprove this conjecture and show that the approximation ratio of this algorithm is at least 9/4.

1 Introduction

The shortest common superstring problem (SCS, or the shortest superstring problem) is the problem of finding a string of minimum length that contains every input string as a substring. It arises in applications such as genome assembly [18,21] and data compression [4,9], and is also discussed in several textbooks [12,27]. This problem is NP-hard [9] and APX-hard even over a binary alphabet [26]. Consequently, much of the research on SCS has focused on approximation algorithms and heuristics. Since Blum et al. [3] gave the first constant-factor approximation algorithm, the best-known approximation ratio for SCS has been repeatedly improved for over 30 years [1,5,8,17,23], but the best possible ratio remains unknown.

The greedy algorithm for SCS has been studied for nearly four decades [10,13,24]. It repeatedly chooses a pair of strings attaining the maximum overlap and merges them until a single output string remains. Here, an overlap of two strings is a string that is both a suffix of the first string and a prefix of the second. This algorithm is extremely simple and runs in linear time [25]. Furthermore, some studies report that the algorithm performs well in practice [15,22]. However, despite its simplicity, its exact approximation ratio is unknown.

We can easily see that the approximation ratio of the greedy algorithm is at least 2. Indeed, for the input set {abn,bn+1,bnc}\{ab^n, b^{n+1}, b^nc\}, the greedy algorithm may begin by merging abnab^n and bncb^nc under a particular tie-breaking rule, giving an approximation ratio that approaches 2 as n→∞n \to \infty. Motivated by this lower bound, Tarhio and Ukkonen [24] conjectured that the greedy algorithm always achieves a 2-approximation, a statement now known as the greedy superstring conjecture.

Since its formulation, the greedy superstring conjecture has been studied extensively [4,5,14,19,20]. In particular, the conjecture is known to hold when all input strings have length 4 [14]. Also, several other works have studied various formulations and variants related to the greedy superstring conjecture [11,19,20]. Very recently, new progress has been made on both sides of the approximation-ratio gap. On the lower-bound side, Chukhin et al. [6] showed that the approximation ratio of the greedy algorithm is at least 2 even when all input strings have length 6. On the upper-bound side, the same research group improved the best-known upper bound on the approximation ratio of the greedy algorithm to 3 [5]. Together, these advances left a gap between the lower bound of 2 and the upper bound of 3. Although the conjecture had remained open for nearly four decades, no instance with an approximation ratio strictly greater than 2 was known.

*shibata.hiroki.753@s.kyushu-u.ac.jp

Our Contribution In this paper, we disprove the greedy superstring conjecture. Specifically, for every even integer k≥10k \geq 10, we show that the approximation ratio ρk\rho_k of the greedy algorithm for SCS instances in which all input strings have length k satisfies

ρk≥9k+24k+4.\rho_{k}\geq\frac{9k+2}{4k+4}.

Thus, the conjecture fails even when all input strings have the same even length k≥10k \geq 10. By taking the limit as k→∞k \to \infty, the lower bound on the approximation ratio of the greedy algorithm for unrestricted SCS instances becomes 9/4.