Papers
Topics
Authors
Recent
Search
2000 character limit reached

Streaming dictionary matching with mismatches

Published 7 Sep 2018 in cs.DS | (1809.02517v3)

Abstract: In the kk-mismatch problem we are given a pattern of length nn and a text and must find all locations where the Hamming distance between the pattern and the text is at most kk. A series of recent breakthroughs have resulted in an ultra-efficient streaming algorithm for this problem that requires only O(klognk)O(k \log \frac{n}{k}) space and O(lognk(klogk+log<sup>3</sup>n))O(\log \frac{n}{k} (\sqrt{k \log k} + \log<sup>3</sup> n)) time per letter [Clifford, Kociumaka, Porat, SODA 2019]. In this work, we consider a strictly harder problem called dictionary matching with kk mismatches. In this problem, we are given a dictionary of dd patterns, where the length of each pattern is at most nn, and must find all substrings of the text that are within Hamming distance kk from one of the patterns. We develop a streaming algorithm for this problem with O(kdlog<sup>k</sup>dpolylog(n))O(k d \log<sup>k</sup> d \mathrm{polylog}(n)) space and O(klog<sup>k</sup>dpolylog(n)+occ)O(k \log<sup>{k}</sup> d \mathrm{polylog}(n) + |\mathrm{occ}|) time per position of the text. The algorithm is randomised and outputs correct answers with high probability. On the lower bound side, we show that any streaming algorithm for dictionary matching with kk mismatches requires Ω(kd)\Omega(k d) bits of space.

Citations (6)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.