Almost succinct representation of maximal palindromes
Takuya Mieno, Tomohiro I

TL;DR
This paper introduces a space-efficient data structure for representing all maximal palindromes in a string, enabling constant-time length retrieval and improving space efficiency for palindrome-related problems.
Contribution
It proposes a novel compact $(3(1+\epsilon)n + o(n))$-bit representation of maximal palindromes with $O(n)$ construction time, enhancing space efficiency and query speed.
Findings
Enables $O(1)$-time retrieval of palindrome lengths at any position.
Constructed in $O(n)$ time from the input string.
Supports a data structure to find the longest palindrome in any substring in $O(\log n)$ time.
Abstract
Palindromes are strings that read the same forward and backward. The computation of palindromic structures within strings is a fundamental problem in string algorithms, being motivated by potential applications in formal language theory and bioinformatics. Although the number of palindromic factors in a string of length can be quadratic, they can be implicitly represented in bits of space by storing the lengths of all maximal palindromes in an integer array, which can be computed in time [Manacher, 1975]. In this paper, for any positive constant , we propose a novel -bit representation of all maximal palindromes in a string, which enables -time retrieval of the length of the maximal palindrome centered at any given position. The data structure can be constructed in time from the input string of length .…
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.
