Longest repeats with a block of k don't cares

  • Authors:
  • Maxime Crochemore;Costas S. Iliopoulos;Manal Mohamed;Marie-France Sagot

  • Affiliations:
  • Institut Gaspard-Monge, University of Marne-la-Vallée, Marne-la-Vallée CEDEX, France and Department of Computer Science, King's College London, London, UK;Department of Computer Science, King's College London, London, UK;Department of Computer Science, King's College London, London, UK;Inria Rhône-Alpes, Laboratoire de Biométrie et Biologie Évolutive, Université Claude Bernard, Villeurbanne cedex, France

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2006

Quantified Score

Hi-index 5.23

Visualization

Abstract

A k-repeat is a string wk = u*k v that matches more than one substring of x, where * is the don't care letter and k 0. We propose an O(n log n)-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.