English

A fast and simple $O (z \log n)$-space index for finding approximately longest common substrings

Data Structures and Algorithms 2022-12-06 v2

Abstract

We describe how, given a text T[1..n]T [1..n] and a positive constant ϵ\epsilon, we can build a simple O(zlogn)O (z \log n)-space index, where zz is the number of phrases in the LZ77 parse of TT, such that later, given a pattern P[1..m]P [1..m], in O(mloglogz+polylog(m+z))O (m \log \log z + \mathrm{polylog} (m + z)) time and with high probability we can find a substring of PP that occurs in TT and whose length is at least a (1ϵ)(1 - \epsilon)-fraction of the length of a longest common substring of PP and TT.

Keywords

Cite

@article{arxiv.2211.13434,
  title  = {A fast and simple $O (z \log n)$-space index for finding approximately longest common substrings},
  author = {Nick Fagan and Jorge Hermo González and Travis Gagie},
  journal= {arXiv preprint arXiv:2211.13434},
  year   = {2022}
}