mlsanityData to 14 Oct 2026

Longest common substrings with k mismatches

arXiv 1409.1694 ↗First posted 5 Sep 2014cs.DScited by 1

Not on the map. Why?

Abstract (arXiv)

The longest common substring with k-mismatches problem is to find, given two strings S1 and S2, a longest substring A1 of S1 and A2 of S2 such that the Hamming distance between A1 and A2 is ≤ k. We introduce a practical O(nm) time and O(1) space solution for this problem, where n and m are the lengths of S1 and S2, respectively. This algorithm can also be used to compute the matching statistics with k-mismatches of S1 and S2 in O(nm) time and O(m) space. Moreover, we also present a theoretical solution for the k = 1 case which runs in O(n log m) time, assuming m≤ n, and uses O(m) space, improving over the existing O(nm) time and O(m) space bound of Babenko and Starikovskaya.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). First posted on arXiv 5 Sep 2014.

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2023: 1.

1 paper.