Skip to main content
Cornell University
Learn about arXiv becoming an independent nonprofit.
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1909.11930

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Data Structures and Algorithms

arXiv:1909.11930 (cs)
[Submitted on 26 Sep 2019 (v1), last revised 14 Feb 2024 (this version, v5)]

Title:String Indexing with Compressed Patterns

Authors:Philip Bille, Inge Li Gørtz, Teresa Anna Steiner
View a PDF of the paper titled String Indexing with Compressed Patterns, by Philip Bille and Inge Li G{\o}rtz and Teresa Anna Steiner
View PDF
Abstract:Given a string $S$ of length $n$, the classic string indexing problem is to preprocess $S$ into a compact data structure that supports efficient subsequent pattern queries. In this paper we consider the basic variant where the pattern is given in compressed form and the goal is to achieve query time that is fast in terms of the compressed size of the pattern. This captures the common client-server scenario, where a client submits a query and communicates it in compressed form to a server. Instead of the server decompressing the query before processing it, we consider how to efficiently process the compressed query directly. Our main result is a novel linear space data structure that achieves near-optimal query time for patterns compressed with the classic Lempel-Ziv compression scheme. Along the way we develop several data structural techniques of independent interest, including a novel data structure that compactly encodes all LZ77 compressed suffixes of a string in linear space and a general decomposition of tries that reduces the search time from logarithmic in the size of the trie to logarithmic in the length of the pattern.
Comments: Accepted journal version
Subjects: Data Structures and Algorithms (cs.DS)
Cite as: arXiv:1909.11930 [cs.DS]
  (or arXiv:1909.11930v5 [cs.DS] for this version)
  https://doi.org/10.48550/arXiv.1909.11930
arXiv-issued DOI via DataCite
Journal reference: journal: ACM Trans. Algorithms, volume 19, pages 32:1-32:19, year 2023
Related DOI: https://doi.org/10.1145/3607141
DOI(s) linking to related resources

Submission history

From: Teresa Anna Steiner [view email]
[v1] Thu, 26 Sep 2019 06:34:01 UTC (196 KB)
[v2] Wed, 15 Jan 2020 12:05:06 UTC (95 KB)
[v3] Tue, 29 Sep 2020 08:47:59 UTC (99 KB)
[v4] Fri, 23 Apr 2021 14:23:22 UTC (166 KB)
[v5] Wed, 14 Feb 2024 11:49:39 UTC (165 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled String Indexing with Compressed Patterns, by Philip Bille and Inge Li G{\o}rtz and Teresa Anna Steiner
  • View PDF
  • TeX Source
license icon view license
Current browse context:
cs.DS
< prev   |   next >
new | recent | 2019-09
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Philip Bille
Inge Li Gørtz
export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

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?)
Papers with Code (What is Papers with Code?)
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?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status