Tight Bound for the Number of Distinct Palindromes in a Tree
Pawe{\l} Gawrychowski, Tomasz Kociumaka, Wojciech Rytter, Tomasz, Wale\'n

TL;DR
This paper establishes a tight bound of (n^{1.5}) for the maximum number of distinct palindromic substrings in a labeled tree and provides an algorithm to enumerate them efficiently.
Contribution
It proves the exact asymptotic bound for palindromic substrings in trees and introduces an (n^{1.5} \u2212} log n) algorithm for reporting all such palindromes.
Findings
Maximum palindromic substrings in trees are (n^{1.5})
Established tight bound matching previous lower bound
Provided an (n^{1.5} \u2212} log n) algorithm for enumeration
Abstract
For an undirected tree with edges labelled by single letters, we consider its substrings, which are labels of the simple paths between pairs of nodes. We prove that there are different palindromic substrings. This solves an open problem of Brlek, Lafreni\`ere, and Proven\c{c}al (DLT 2015), who gave a matching lower-bound construction. Hence, we settle the tight bound of for the maximum palindromic complexity of trees. For standard strings, i.e., for paths, the palindromic complexity is . We also propose -time algorithm for reporting all distinct palindromes in an undirected tree with edges.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Network Packet Processing and Optimization · Advanced Graph Theory Research
