Skip to main contentSkip to search
Episciences
Open Access Journals
Sign in(new window)
Discrete Mathematics & Theoretical Computer Science logo
Discrete Mathematics & Theoretical Computer Science
Discrete Mathematics & Theoretical Computer Science logo
Discrete Mathematics & Theoretical Computer Science
Sign in(new window)
Articles & Issues
All articlesAll accepted articlesAll volumesLast volumeSectionsSpecial issuesAuthors
About
The journalIndexing
Boards
Publish
For authorsEthical charter
Submit
Discrete Mathematics & Theoretical Computer Science logo
Contact
|
Credits
eISSN 1365-8050
|
RSS
|
Atom
Episciences
Documentation
|
Acknowledgements
|
Publishing policy
Accessibility: non-compliant
|
Legal mentions
|
Privacy statement
|
Terms of use
  1. Home > Articles & Issues >
  2. Articles >
  3. Efficient repeat fin ...
Article

Efficient repeat finding in sets of strings via suffix arrays

Pablo Barenbaum (1), Verónica Becher ORCID (1) (2), Alejandro Deymonnaz (1), Melisa Halsband (1), Pablo Ariel Heiber (1) (2)
(1) Departamento de Computación [Buenos Aires]
(2) Consejo Nacional de Investigaciones Científicas y Técnicas [Buenos Aires]
Download article
Open on HAL
Imported on
April 5, 2012
Published on
May 5, 2013
Last modified on
March 31, 2025
Volume 15
vol. 15:2
Discrete Algorithms
DOI
10.46298/dmtcs.597
License
https://about.hal.science/hal-authorisation-v1
Indicators
969
Views
962
Downloads

Efficient repeat finding in sets of strings via suffix arrays

Pablo Barenbaum (1), Verónica Becher ORCID (1) (2), Alejandro Deymonnaz (1), Melisa Halsband (1), Pablo Ariel Heiber (1) (2)
(1) Departamento de Computación [Buenos Aires]
(2) Consejo Nacional de Investigaciones Científicas y Técnicas [Buenos Aires]
Abstract
We consider two repeat finding problems relative to sets of strings: (a) Find the largest substrings that occur in every string of a given set; (b) Find the maximal repeats in a given string that occur in no string of a given set. Our solutions are based on the suffix array construction, requiring O(m) memory, where m is the length of the longest input string, and O(n &log;m) time, where n is the the whole input size (the sum of the length of each string in the input). The most expensive part of our algorithms is the computation of several suffix arrays. We give an implementation and experimental results that evidence the efficiency of our algorithms in practice, even for very large inputs.
Keywords
  • [INFO.INFO-DM]Computer Science [cs]/Discrete Mathematics [cs.DM]
Cited by

Source: OpenCitations

  • Accelerated preprocessing in task of searching substrings in a string

    Advanced Engineering Research

    Authors : A. V. Mazurenko ORCID, N. V. Boldyrikhin ORCID

    Journal reference : Volume 19, 2019, pp. 290-300

    DOI : 10.23947/1992-5980-2019-19-3-290-300
  • Finding repeated strings in code repositories and its applications to code-clone detection

    2021 28th Asia-Pacific Software Engineering Conference (APSEC)

    Authors : Yoriyuki Yamagata ORCID, Fabien Herve, Yuji Fujiwara, Katsuro Inoue

    Journal reference : Volume , 2021, pp. 497-502

    DOI : 10.1109/apsec53868.2021.00057
Preview
Loading PDF preview...