Finding Top-k Longest Palindromes in Substrings
Kazuki Mitani, Takuya Mieno, Kazuhisa Seto, Takashi Horiyama

TL;DR
This paper introduces a linear-size data structure that efficiently finds the top-k longest palindromes within any substring of a given string, generalizing the classic longest palindrome problem.
Contribution
It extends the longest palindrome problem to top-k palindromes with a data structure that answers queries in O(k) time and is constructed in O(n log n) time.
Findings
Data structure answers top-k palindrome queries in O(k) time
Construction time is O(n log n), reduced to O(n) for k=1
Supports efficient retrieval of multiple longest palindromes in substrings
Abstract
Palindromes are strings that read the same forward and backward. Problems of computing palindromic structures in strings have been studied for many years with a motivation of their application to biology. The longest palindrome problem is one of the most important and classical problems regarding palindromic structures, that is, to compute the longest palindrome appearing in a string of length . The problem can be solved in time by the famous algorithm of Manacher [Journal of the ACM, 1975]. This paper generalizes the longest palindrome problem to the problem of finding top- longest palindromes in an arbitrary substring, including the input string itself. The internal top- longest palindrome query is, given a substring of and a positive integer as a query, to compute the top- longest palindromes appearing in . This paper proposes a…
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 · DNA and Biological Computing · Genomics and Chromatin Dynamics
