On the Right-Seed Array of a String

Research output: Chapter in Book/Report/Conference proceedingConference paper

10 Citations (Scopus)

Abstract

We consider the problem of finding the repetitive structure of a given fixed string y. A factor u of y is a cover of y, if every letter of y falls within some occurrence of u in y. A factor v of y is a seed of y, if it is a cover of a superstring of y. There exist linear-time algorithms for solving the minimal cover problem. The minimal seed problem is of much higher algorithmic difficulty, and no linear-time algorithm is known. In this article, we solve one of its variants – computing the minimal and maximal right-seed array of a given string. A right seed of y is the shortest suffix of y that it is a cover of a superstring of y. An integer array RS is the minimal right-seed (resp. maximal right-seed) array of y, if RS[i] is the minimal (resp. maximal) length of right seeds of y[0..i]. We present an \ensuremathO(nlogn) time algorithm that computes the minimal right-seed array of a given string, and a linear-time solution to compute the maximal right-seed array by detecting border-free prefixes of the given string.
Original languageEnglish
Title of host publicationComputing and Combinatorics
Subtitle of host publication17th Annual International Conference, COCOON 2011, Dallas, TX, USA, August 14-16, 2011. Proceedings
EditorsBin Fu, Ding-Zhu Du
PublisherSpringer Berlin Heidelberg
Pages492-502
Number of pages11
Volume6842
ISBN (Electronic)978-3-642-22685-4
ISBN (Print)978-3-642-22684-7
DOIs
Publication statusPublished - 2011

Publication series

NameLecture Notes in Computer Science
PublisherSpringer Berlin Heidelberg
Volume6842
ISSN (Print)0302-9743

Keywords

  • algorithms on strings
  • periodicity
  • covers
  • seeds

Fingerprint

Dive into the research topics of 'On the Right-Seed Array of a String'. Together they form a unique fingerprint.

Cite this