paper

Longest common substrings with k mismatches

arXiv:1409.1694 · doi:10.1016/j.ipl.2015.03.006

Abstract

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

Accepted version

Cited by in corpus (1)

Longest common substrings with k mismatches · wovepaper