Kazuki Mitani, Takuya Mieno, Kazuhisa Seto, Takashi Horiyama
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
Domenico Cantone, Simone Faro, Arianna Pavone +1