Longest common substrings with k mismatches

From MaRDI portal
Publication:2345877

DOI10.1016/J.IPL.2015.03.006zbMATH Open1328.68326arXiv1409.1694OpenAlexW1996780636WikidataQ58054124 ScholiaQ58054124MaRDI QIDQ2345877FDOQ2345877

Kassian Kobert, Esko Ukkonen, Emanuele Giaquinta, Tomáš Flouri

Publication date: 21 May 2015

Published in: Information Processing Letters (Search for Journal in Brave)

Abstract: 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 lek. 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(nlogm) time, assuming mlen, and uses O(m) space, improving over the existing O(nm) time and O(m) space bound of Babenko and Starikovskaya.


Full work available at URL: https://arxiv.org/abs/1409.1694





Cites Work


Cited In (12)






This page was built for publication: Longest common substrings with \(k\) mismatches

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q2345877)