Article view
Tight Bound for the Number of Distinct Palindromes in a Tree
By Paweł Gawrychowski, Tomasz Kociumaka, Wojciech Rytter, Tomasz Waleń
Article information
- Publisher
- Free Journal Network
- Publication
- Published 21 April 2023
- Institutions at publication
- University of Wrocław; University of California, Berkeley; University of Warsaw
- Full text
- Read the article
Usage
Phase 3: not collected yet
Abstract
For an undirected tree with edges labeled by single letters, we consider its substrings, which are labels of the simple paths between two nodes. A palindrome is a word $w$ equal to its reverse $w^R$. We prove that the maximum number of distinct palindromic substrings in a tree of $n$ edges satisfies $\text{pal}(n)=O(n^{1.5})$. This solves an open problem of Brlek, Lafrenière, and Provençal (DLT 2015), who showed that $\text{pal}(n)=\Omega(n^{1.5})$. Hence, we settle the tight bound of $\Theta(n^{1.5})$ for the maximum palindromic complexity of trees. For standard strings, i.e., for trees that are simple paths, the maximum palindromic complexity is exactly $n+1$. We also propose an $O(n^{1.5} \log^{0.5}{n})$-time algorithm reporting all distinct palindromes and an $O(n \log^2 n)$-time algorithm finding the longest palindrome in a tree.
Citations per year
| Year | Citations |
|---|---|
| 2023 | 0 |
| 2024 | 1 |
| 2025 | 0 |
| 2026 | 1 |
OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.
Works citing this article
OpenAlex counts 5 citations; 4 citing works of them are listed here.
| Citing work | Year | Published in |
|---|---|---|
| Online Computation of Palindromes and Suffix Trees on Tries | 2026 | arXiv |
| Computing palindromes and suffix trees of dynamic trees | 2024 | Research Square |
| 動的文字列における規則性とアルゴリズム | 2022 | Kyushu University Institutional Repository (QIR) (Kyushu University) |
| String Covers of a Tree (self-citation) | 2021 | Lecture notes in computer science |
Where its authors are based
Countries of the institutions the article's authors were affiliated to when it was published.
- Changes the map only; the tables list the figures.
- USAGE Phase 3
| Country | Authors |
|---|---|
| Poland | 3 |
| United States | 1 |