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. Longest Gapped Repea ...
Article

Longest Gapped Repeats and Palindromes

Marius Dumitran ORCID, Paweł Gawrychowski, Florin Manea
Download article
Open on arXiv
Submitted on
October 12, 2016
Accepted on
October 3, 2017
Published on
October 13, 2017
Last modified on
March 31, 2025
Special issue 19
vol. 19:4, FCT '15
special issue FCT'15
DOI
10.23638/DMTCS-19-4-4
License
Attribution 4.0 International (CC BY 4.0)
Indicators
1678
Views
760
Downloads

Longest Gapped Repeats and Palindromes

Marius Dumitran ORCID, Paweł Gawrychowski, Florin Manea
Abstract
A gapped repeat (respectively, palindrome) occurring in a word $w$ is a factor $uvu$ (respectively, $u^Rvu$) of $w$. In such a repeat (palindrome) $u$ is called the arm of the repeat (respectively, palindrome), while $v$ is called the gap. We show how to compute efficiently, for every position $i$ of the word $w$, the longest gapped repeat and palindrome occurring at that position, provided that the length of the gap is subject to various types of restrictions. That is, that for each position $i$ we compute the longest prefix $u$ of $w[i..n]$ such that $uv$ (respectively, $u^Rv$) is a suffix of $w[1..i-1]$ (defining thus a gapped repeat $uvu$ -- respectively, palindrome $u^Rvu$), and the length of $v$ is subject to the aforementioned restrictions. Comment: This is an extension of the conference papers "Longest $\alpha$-Gapped Repeat and Palindrome", presented by the second and third authors at FCT 2015, and "Longest Gapped Repeats and Palindromes", presented by the first and third authors at MFCS 2015
Keywords
  • Computer Science - Data Structures and Algorithms
Cited by

Source: OpenCitations

  • On the Expected Number of Distinct Gapped Palindromic Factors

    Lecture notes in computer science

    Authors : Philippe Duchon, Cyril Nicaud ORCID

    Journal reference : Volume , 2018, pp. 165-176

    DOI : 10.1007/978-3-319-94667-2_14
  • Efficient Algorithms for Counting Gapped Palindromes

    DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)

    Authors : Popa, Popa

    Journal reference : Volume , 2021, pp.

    DOI : 10.4230/lipics.cpm.2021.23
Preview
Loading PDF preview...