Online Computation of Palindromes and Suffix Trees on Tries
Hiroki Shibata, Mitsuru Funakoshi, Takuya Mieno, Masakazu Ishihata, Yuto Nakashima, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda

TL;DR
This paper introduces the first sub-quadratic online algorithms for enumerating palindromes in dynamic tries, supporting leaf insertions and deletions, and also presents online suffix tree and EERTREE construction methods.
Contribution
It develops novel online algorithms for palindrome enumeration in dynamic tries, improving efficiency and supporting dynamic updates, along with online suffix tree and EERTREE construction.
Findings
Algorithms run in $O(N ext{min}( ext{log} h, ext{σ}))$ time for maximal palindromes.
Supports leaf insertions and deletions with various time-space trade-offs.
Provides online construction algorithms for suffix trees and EERTREE of tries.
Abstract
We consider the problems of computing maximal palindromes and distinct palindromes in a trie. A trie is a natural generalization of a string, which can be seen as a single-path tree. There is a linear-time offline algorithm to compute maximal palindromes and distinct palindromes in a given (static) trie whose edge-labels are drawn from a linearly-sortable alphabet [Mieno et al., ISAAC 2022]. In this paper, we tackle problems of palindrome enumeration on dynamic tries which support leaf additions and leaf deletions. We propose the first sub-quadratic algorithms to enumerate palindromes in a dynamic trie. For maximal palindromes, we propose an algorithm that runs in time and uses space, where is the maximum number of edges in the trie, is the size of the alphabet, and is the height of the trie. For distinct palindromes, we develop…
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 · Genome Rearrangement Algorithms · semigroups and automata theory
