A fast and simple O (z 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 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 z + 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 - ε)-fraction of the length of a longest common substring of P and T.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…