For a string , a palindromic substring is said to be a \emph{shortest unique palindromic substring} () for an interval in , if occurs exactly once in , the interval contains , and every palindromic substring containing which is shorter than occurs at least twice in . In this paper, we study the problem of answering queries on run-length encoded strings. We show how to preprocess a given run-length encoded string of size in space and $O(m \log \sigma_{{S}} + m \sqrt{\log m / \log\log m})$ for any subsequent query interval can be answered in $O(\sqrt{\log m / \log\log m} + \alpha)\alpha\sigma{{S}}{S}$. Additionaly, we consider a variant of the SUPS problem where a query interval is also given in a run-length encoded form. For this variant of the problem, we present two alternative algorithms with faster queries. The first one answers queries in $O(\sqrt{\log\log m /\log\log\log m}

生成讲解博客的中文版本

生成AI智能校验的中文版本