pith. sign in

arxiv: 1610.03337 · v1 · pith:E4254KLUnew · submitted 2016-10-11 · 💻 cs.DS

String Cadences

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

We say a string has a cadence if a certain character is repeated at regular intervals, possibly with intervening occurrences of that character. We call the cadence anchored if the first interval must be the same length as the others. We give a sub-quadratic algorithm for determining whether a string has any cadence consisting of at least three occurrences of a character, and a nearly linear algorithm for finding all anchored cadences.

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.