-
arXiv:2211.13434 [pdf, ps, other]
A fast and simple $O (z \log n)$-space index for finding approximately longest common substrings
Abstract: We describe how, given a text $T [1..n]$ and a positive constant $ε$, we can build a simple $O (z \log n)$-space index, where $z$ is the number of phrases in the LZ77 parse of $T$, such that later, given a pattern $P [1..m]$, in $O (m \log \log z + \mathrm{polylog} (m + z))$ time and with high probability we can find a substring of $P$ that occurs in $T$ and whose length is at least a $(1 - ε)$-fr… ▽ More
Submitted 3 December, 2022; v1 submitted 24 November, 2022; originally announced November 2022.