Detecting One-variable Patterns
arXiv:1604.00054
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.
16 pages (+13 pages of Appendix), 4 figures, accepted to SPIRE 2017