English

Hairpin Completion Distance Lower Bound

Data Structures and Algorithms 2024-04-19 v1

Abstract

Hairpin completion, derived from the hairpin formation observed in DNA biochemistry, is an operation applied to strings, particularly useful in DNA computing. Conceptually, a right hairpin completion operation transforms a string SS into SSS\cdot S' where SS' is the reverse complement of a prefix of SS. Similarly, a left hairpin completion operation transforms a string SS into SSS'\cdot S where SS' is the reverse complement of a suffix of SS. The hairpin completion distance from SS to TT is the minimum number of hairpin completion operations needed to transform SS into TT. Recently Boneh et al. showed an O(n2)O(n^2) time algorithm for finding the hairpin completion distance between two strings of length at most nn. In this paper we show that for any ε>0\varepsilon>0 there is no O(n2ε)O(n^{2-\varepsilon})-time algorithm for the hairpin completion distance problem unless the Strong Exponential Time Hypothesis (SETH) is false. Thus, under SETH, the time complexity of the hairpin completion distance problem is quadratic, up to sub-polynomial factors.

Keywords

Cite

@article{arxiv.2404.11673,
  title  = {Hairpin Completion Distance Lower Bound},
  author = {Itai Boneh and Dvir Fried and Shay Golan and Matan Kraus},
  journal= {arXiv preprint arXiv:2404.11673},
  year   = {2024}
}

Comments

To be published in CPM 2024

R2 v1 2026-06-28T15:57:46.675Z