Finding Maximal Quasiperiodicities in Strings

Authors

  • Gerth Stølting Brodal
  • Christian N. S. Pedersen

DOI:

https://doi.org/10.7146/brics.v6i25.20094

Abstract

Apostolico and Ehrenfeucht defined the notion of a maximal quasiperiodic
substring and gave an algorithm that finds all maximal quasiperiodic
substrings in a string of length n in time O(n log2 n). In this paper we
give an algorithm that finds all maximal quasiperiodic substrings in a
string of length n in time O(n log n) and space O(n). Our algorithm uses
the suffix tree as the fundamental data structure combined with efficient
methods for merging and performing multiple searches in search trees.
Besides finding all maximal quasiperiodic substrings, our algorithm also
marks the nodes in the suffix tree that have a superprimitive path-label.

Downloads

Published

1999-01-25

How to Cite

Brodal, G. S., & Pedersen, C. N. S. (1999). Finding Maximal Quasiperiodicities in Strings. BRICS Report Series, 6(25). https://doi.org/10.7146/brics.v6i25.20094