Archeus - Repozitoriu InstituționalActualizat periodic

Metadate publicație

ID intern (ARK)Nealocat
DOI10.4230/lipics.cpm.2021.23
TitluEfficient algorithms for counting gapped palindromes
Autori
Popa, Andrei
RezumatA gapped palindrome is a string uvu^{R}, where u^{R} represents the reverse of string u. In this paper we show three efficient algorithms for counting the occurrences of gapped palindromes in a given string S of length N. First, we present a solution in O(N) time for counting all gapped palindromes without additional constraints. Then, in the case where the length of v is constrained to be in an interval [g, G], we show an algorithm with running time O(N log N). Finally, we show an algorithm in O(N log² N) time for a more general case where we count gapped palindromes uvu^{R}, where u^{R} starts at position i with g(i) ≤ v ≤ G(i), for all positions i.
Cuvinte cheie
string algorithms
linear-time algorithms
O(n log n) algorithm
string matching
Gapped palindromes
Pattern matching
Suffix tree
An2021
Tip publicațieLucrare conferință
Eveniment32nd Annual Symposium on Combinatorial Pattern Matching, CPM 2021
Open AccessDa
URLhttps://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.CPM.2021.23