English

Finding Distinct Subpalindromes Online

Data Structures and Algorithms 2013-05-14 v1

Abstract

We exhibit an online algorithm finding all distinct palindromes inside a given string in time Θ(nlogΣ)\Theta(n\log|\Sigma|) over an ordered alphabet and in time Θ(nΣ)\Theta(n|\Sigma|) over an unordered alphabet. Using a reduction from a dictionary-like data structure, we prove the optimality of this algorithm in the comparison-based computation model.

Keywords

Cite

@article{arxiv.1305.2540,
  title  = {Finding Distinct Subpalindromes Online},
  author = {Dmitry Kosolobov and Mikhail Rubinchik and Arseny M. Shur},
  journal= {arXiv preprint arXiv:1305.2540},
  year   = {2013}
}

Comments

7 pages

R2 v1 2026-06-22T00:14:58.650Z