Article ID Journal Published Year Pages File Type
435788 Theoretical Computer Science 2009 9 Pages PDF
Abstract

We study the problem of finding, in a given word, all maximal gapped palindromes verifying two types of constraints, that we call long-armed and length-constrained palindromes. For each of the two classes, we propose an algorithm that runs in time O(n+S) for a constant-size alphabet, where S is the number of output palindromes. Both algorithms can be extended to compute biological gapped palindromes within the same time bound.

Related Topics
Physical Sciences and Engineering Computer Science Computational Theory and Mathematics