The Streaming k-Mismatch Problem: Tradeoffs between Space and Total Time
Abstract
We revisit the -mismatch problem in the streaming model on a pattern of length and a streaming text of length , both over a size- alphabet. The current state-of-the-art algorithm for the streaming -mismatch problem, by Clifford et al. [SODA 2019], uses space and worst-case time per character. The space complexity is known to be (unconditionally) optimal, and the worst-case time per character matches a conditional lower bound. However, there is a gap between the total time cost of the algorithm, which is , and the fastest known offline algorithm, which costs time. Moreover, it is not known whether improvements over the total time are possible when using more than space. We address these gaps by designing a randomized streaming algorithm for the -mismatch problem that, given an integer parameter , uses space and costs total time. For , the total runtime becomes , which matches the time cost of the fastest offline algorithm. Moreover, the worst-case time cost per character is still .
Cite
@article{arxiv.2004.12881,
title = {The Streaming k-Mismatch Problem: Tradeoffs between Space and Total Time},
author = {Shay Golan and Tomasz Kociumaka and Tsvi Kopelowitz and Ely Porat},
journal= {arXiv preprint arXiv:2004.12881},
year = {2020}
}
Comments
Extended abstract to appear in CPM 2020