Asymptotically Optimal Representation of Palindromic Structure
Michael Itzhaki
TL;DR
This work addresses the problem of encoding the Manacher array in $O(n)$ bits while supporting constant-time access. It introduces a three-component compressed representation that separates periodic and non-periodic centers, leveraging smooth arrays and the Simple Dense Coding (SDC) framework to achieve space efficiency, and a boundary locator built from layered bitvectors to enable constant-time radius calculations. The main result is a lossless encoding of the Manacher array with $O(n)$ bits and $O(1)$-time access, realized via the sparse Manacher array $ ilde{ extsf A}$, the enriched center-period array $ ilde{ extsf L}$, and the boundary locator $ ilde{ extbf I}$. This advances compressed text indexing by exploiting palindromic structure, offering a practical pathway to efficient palindrome-aware pattern processing and indexing in strings.
Abstract
We introduce an asymptotically optimal representation of the Manacher array of a string that supports constant-time access. The approach relies on the combinatorial properties of palindromes, yielding a compact yet efficient structure. This work fits within the broader study of compressed text indexing and highlights structural aspects of palindromic substrings that may inspire further algorithmic applications.
