加载中…
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 $O(n \log m)m\le nO(m)$ space, improving over the existing time and space bound of Babenko and Starikovskaya.

生成讲解博客的中文版本

生成AI智能校验的中文版本