English

Approximating longest common substring with $k$ mismatches: Theory and practice

Data Structures and Algorithms 2020-04-29 v1

Abstract

In the problem of the longest common substring with kk mismatches we are given two strings X,YX, Y and must find the maximal length \ell such that there is a length-\ell substring of XX and a length-\ell substring of YY that differ in at most kk positions. The length \ell can be used as a robust measure of similarity between X,YX, Y. In this work, we develop new approximation algorithms for computing \ell that are significantly more efficient that previously known solutions from the theoretical point of view. Our approach is simple and practical, which we confirm via an experimental evaluation, and is probably close to optimal as we demonstrate via a conditional lower bound.

Keywords

Cite

@article{arxiv.2004.13389,
  title  = {Approximating longest common substring with $k$ mismatches: Theory and practice},
  author = {Garance Gourdel and Tomasz Kociumaka and Jakub Radoszewski and Tatiana Starikovskaya},
  journal= {arXiv preprint arXiv:2004.13389},
  year   = {2020}
}
R2 v1 2026-06-23T15:08:50.214Z