Detecting One-variable Patterns
Abstract
Given a pattern p = s1x1s2x2·s sr-1xr-1sr such that x1,x2,…,xr-1∈\x,←x\, where x is a variable and ←x its reversal, and s1,s2,…,sr are strings that contain no variables, we describe an algorithm that constructs in O(rn) time a compact representation of all P instances of p in an input string of length n over a polynomially bounded integer alphabet, so that one can report those instances in O(P) time.
0
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.