Optimal trade-offs for pattern matching with $k$ mismatches
Data Structures and Algorithms
2017-04-06 v1
Abstract
Given a pattern of length and a text of length , the goal in -mismatch pattern matching is to compute, for every -substring of the text, the exact Hamming distance to the pattern or report that it exceeds . This can be solved in either time as shown by Amir et al. [J. Algorithms 2004] or time due to a result of Clifford et al. [SODA 2016]. We provide a smooth time trade-off between these two bounds by designing an algorithm working in time . We complement this with a matching conditional lower bound, showing that a significantly faster combinatorial algorithm is not possible, unless the combinatorial matrix multiplication conjecture fails.
Cite
@article{arxiv.1704.01311,
title = {Optimal trade-offs for pattern matching with $k$ mismatches},
author = {Paweł Gawrychowski and Przemysław Uznański},
journal= {arXiv preprint arXiv:1704.01311},
year = {2017}
}