Skip to main content
archive
Search Submit Donate Log in
Press Enter to search · Advanced search

Computer Science > Data Structures and Algorithms

arXiv:1809.02517 (cs)
[Submitted on 7 Sep 2018 (v1), last revised 20 Jun 2021 (this version, v3)]

Title:Streaming dictionary matching with mismatches

Authors:Paweł Gawrychowski, Tatiana Starikovskaya
View a PDF of the paper titled Streaming dictionary matching with mismatches, by Pawe{\l} Gawrychowski and 1 other authors
View PDF HTML (experimental)
Abstract:In the $k$-mismatch problem we are given a pattern of length $n$ and a text and must find all locations where the Hamming distance between the pattern and the text is at most $k$. A series of recent breakthroughs have resulted in an ultra-efficient streaming algorithm for this problem that requires only $O(k \log \frac{n}{k})$ space and $O(\log \frac{n}{k} (\sqrt{k \log k} + \log^3 n))$ time per letter [Clifford, Kociumaka, Porat, SODA 2019]. In this work, we consider a strictly harder problem called dictionary matching with $k$ mismatches. In this problem, we are given a dictionary of $d$ patterns, where the length of each pattern is at most $n$, and must find all substrings of the text that are within Hamming distance $k$ from one of the patterns. We develop a streaming algorithm for this problem with $O(k d \log^k d \mathrm{polylog}(n))$ space and $O(k \log^{k} 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 $k$ mismatches requires $\Omega(k d)$ bits of space.
Subjects: Data Structures and Algorithms (cs.DS)
Cite as: arXiv:1809.02517 [cs.DS]
  (or arXiv:1809.02517v3 [cs.DS] for this version)
  https://doi.org/10.48550/arXiv.1809.02517
arXiv-issued DOI via DataCite

Submission history

From: Tatiana Starikovskaya [view email]
[v1] Fri, 7 Sep 2018 14:54:53 UTC (20 KB)
[v2] Tue, 22 Jan 2019 12:10:23 UTC (17 KB)
[v3] Sun, 20 Jun 2021 15:16:20 UTC (26 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Streaming dictionary matching with mismatches, by Pawe{\l} Gawrychowski and 1 other authors
  • View PDF
  • HTML (experimental)
  • TeX Source
view license

Current browse context:

cs.DS
< prev   |   next >
new | recent | 2018-09
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Pawel Gawrychowski
Tatiana A. Starikovskaya
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation Simons Foundation International Schmidt Sciences