pith. sign in

arxiv: 1708.04381 · v1 · pith:Q6FJYVG5new · submitted 2017-08-15 · 💻 cs.DS

Streaming Periodicity with Mismatches

classification 💻 cs.DS
keywords lengthperiodsstreamingalgorithmbitscomputesperiodpoly
0
0 comments X
read the original abstract

We study the problem of finding all $k$-periods of a length-$n$ string $S$, presented as a data stream. $S$ is said to have $k$-period $p$ if its prefix of length $n-p$ differs from its suffix of length $n-p$ in at most $k$ locations. We give a one-pass streaming algorithm that computes the $k$-periods of a string $S$ using $\text{poly}(k, \log n)$ bits of space, for $k$-periods of length at most $\frac{n}{2}$. We also present a two-pass streaming algorithm that computes $k$-periods of $S$ using $\text{poly}(k, \log n)$ bits of space, regardless of period length. We complement these results with comparable lower bounds.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.