Detecting One-variable Patterns
Dmitry Kosolobov, Florin Manea, Dirk Nowotka

TL;DR
This paper presents an efficient algorithm for detecting all instances of a specific one-variable pattern, including reversed variables, within a string, with a focus on compact representation and linear time complexity.
Contribution
It introduces a novel $O(rn)$ time algorithm for constructing a compact representation of pattern instances involving reversed variables in strings.
Findings
Constructs a compact representation in $O(rn)$ time.
Reports pattern instances in $O(P)$ time.
Applicable to strings over polynomially bounded integer alphabets.
Abstract
Given a pattern such that , where is a variable and its reversal, and are strings that contain no variables, we describe an algorithm that constructs in time a compact representation of all instances of in an input string of length over a polynomially bounded integer alphabet, so that one can report those instances in time.
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.
Taxonomy
TopicsAlgorithms and Data Compression · semigroups and automata theory · Machine Learning and Algorithms
