Article ID Journal Published Year Pages File Type
438654 Theoretical Computer Science 2006 7 Pages PDF
Abstract

A k-repeat is a string wk=u*kv that matches more than one substring of x, where * is the don’t care letter and k>0. We propose an -time algorithm for computing all longest k-repeats in a given string x=x[1..n]. The proposed algorithm uses suffix trees to fulfill this task and relies on the ability to answer lowest common ancestor queries in constant time.

Related Topics
Physical Sciences and Engineering Computer Science Computational Theory and Mathematics