Linear-Time Algorithm for Long LCF with $k$ Mismatches
Abstract
In the Longest Common Factor with Mismatches (LCF) problem, we are given two strings and of total length , and we are asked to find a pair of maximal-length factors, one of and the other of , such that their Hamming distance is at most . Thankachan et al. show that this problem can be solved in time and space for constant . We consider the LCF() problem in which we assume that the sought factors have length at least , and the LCF() problem for , which we call the Long LCF problem. We use difference covers to reduce the Long LCF problem to a task involving synchronized factors. The latter can be solved in time, which results in a linear-time algorithm for Long LCF. In general, our solution to LCF() for arbitrary takes time.
Cite
@article{arxiv.1802.06369,
title = {Linear-Time Algorithm for Long LCF with $k$ Mismatches},
author = {Panagiotis Charalampopoulos and Maxime Crochemore and Costas S. Iliopoulos and Tomasz Kociumaka and Solon P. Pissis and Jakub Radoszewski and Wojciech Rytter and Tomasz Waleń},
journal= {arXiv preprint arXiv:1802.06369},
year = {2018}
}
Comments
submitted to CPM 2018