Internal Pattern Matching in Small Space and Applications
Gabriel Bathie, Panagiotis Charalampopoulos, Tatiana Starikovskaya

TL;DR
This paper introduces a space-efficient data structure for internal pattern matching in strings, enabling fast queries in small space, with applications to approximate pattern matching and streaming problems.
Contribution
It presents a nearly-optimal space-time trade-off data structure for internal pattern matching in small space, improving efficiency in string analysis algorithms.
Findings
Supports queries in O(n/) space and O() query time
Enables application to approximate pattern matching algorithms
Provides space-time trade-offs for longest common substring and circular pattern matching
Abstract
In this work, we consider pattern matching variants in small space, that is, in the read-only setting, where we want to bound the space usage on top of storing the strings. Our main contribution is a space-time trade-off for the Internal Pattern Matching (IPM) problem, where the goal is to construct a data structure over a string of length that allows one to answer the following type of queries: Compute the occurrences of a fragment of inside another fragment of , provided that . For any , we present a nearly-optimal -size data structure that can be built in time using extra space, and answers IPM queries in time. IPM queries have been identified as a crucial primitive operation for the analysis of algorithms on strings. In particular, the complexities of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
