Shortest Unique Palindromic Substring Queries on Run-Length Encoded Strings

03/14/2019
by   Kiichi Watanabe, et al.
0

For a string S, a palindromic substring S[i..j] is said to be a shortest unique palindromic substring (SUPS) for an interval [s, t] in S, if S[i..j] occurs exactly once in S, the interval [i, j] contains [s, t], and every palindromic substring containing [s, t] which is shorter than S[i..j] occurs at least twice in S. In this paper, we study the problem of answering SUPS queries on run-length encoded strings. We show how to preprocess a given run-length encoded string RLE_S of size m in O(m) space and O(m (σ_RLE_S + √( m / m))) time so that all SUPSs for any subsequent query interval can be answered in O(√( m / m) + α) time, where α is the number of outputs, and σ_RLE_S is the number of distinct runs of RLE_S.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/30/2019

Compact Data Structures for Shortest Unique Substring Queries

Given a string T of length n, a substring u = T[i.. j] of T is called a ...
research
02/28/2022

Minimal Absent Words on Run-Length Encoded Strings

A string w is called a minimal absent word (MAW) for another string T if...
research
04/04/2015

Fast algorithms for morphological operations using run-length encoded binary images

This paper presents innovative algorithms to efficiently compute erosion...
research
05/25/2021

Minimal unique palindromic substrings after single-character substitution

A palindrome is a string that reads the same forward and backward. A pal...
research
10/05/2022

Double-Ended Palindromic Trees: A Linear-Time Data Structure and Its Applications

The palindromic tree (a.k.a. eertree) is a linear-size data structure th...
research
11/20/2017

A Separation Between Run-Length SLPs and LZ77

In this paper we give an infinite family of strings for which the length...
research
12/26/2021

Quantum Algorithm for the Shortest Superstring Problem

In this paper, we consider the “Shortest Superstring Problem”(SSP) or th...

Please sign up or login with your details

Forgot password? Click here to reset