Efficient computation of longest single-arm-gapped palindromes in a string
Shintaro Narisada, Diptarama Hendrian, Kazuyuki Narisawa, Shunsuke, Inenaga, Ayumi Shinohara

TL;DR
This paper introduces new approximate palindrome types called SAGPs, classifies them, and presents efficient algorithms based on suffix structures to compute the longest SAGPs in a string, with practical performance evaluations.
Contribution
The paper proposes novel definitions of SAGPs and develops linear-time algorithms using suffix trees and arrays for their efficient computation.
Findings
Linear-time algorithms for type-1 SAGPs using suffix trees.
Efficient algorithms for type-2 SAGPs.
Preliminary experiments demonstrate practical performance.
Abstract
In this paper, we introduce new types of approximate palindromes called single-arm-gapped palindromes (shortly SAGPs). A SAGP contains a gap in either its left or right arm, which is in the form of either or , where and are non-empty strings, and are respectively the reversed strings of and , is a string called a gap, and is either a single character or the empty string. Here we call and the arm of the SAGP, and the length of the arm. We classify SAGPs into two groups: those which have as a maximal palindrome (type-1), and the others (type-2). We propose several algorithms to compute type-1 SAGPs with longest arms occurring in a given string, based on suffix arrays. Then, we propose a linear-time algorithm to compute all type-1 SAGPs with longest arms, based on suffix trees. Also, we show how to…
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.
