An on-line string superprimitivity test

Dany Breslauer · Information Processing Letters · 1992

A string w covers another string z if every symbol of z is within some occurrence of w in z. A string is called superprimitive if it is covered only by itself, and quasiperiodic if it is covered by some shorter string. We present an on-line linear-time algorithm that tests if each prefix of an input string is superprimitive while the string is given a symbol at a time.

Read the paper · More papers on PaperTik