Internal Shortest Absent Word Queries in Constant Time and Linear Space

06/03/2021
by   Golnaz Badkobeh, et al.
0

Given a string T of length n over an alphabet Σ⊂{1,2,…,n^O(1)} of size σ, we are to preprocess T so that given a range [i,j], we can return a representation of a shortest string over Σ that is absent in the fragment T[i]⋯ T[j] of T. We present an O(n)-space data structure that answers such queries in constant time and can be constructed in O(nlog_σ n) time.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/27/2020

Internal Quasiperiod Queries

Internal pattern matching requires one to answer queries about factors o...
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
10/05/2022

Internal Longest Palindrome Queries in Optimal Time

Palindromes are strings that read the same forward and backward. Problem...
research
12/11/2020

String Tightening as a Self-Organizing Phenomenon: Computation of Shortest Homotopic Path, Smooth Path, and Convex Hull

The phenomenon of self-organization has been of special interest to the ...
research
02/12/2019

Compressed Range Minimum Queries

Given a string S of n integers in [0,σ), a range minimum query RMQ(i, j)...
research
04/14/2022

A* shortest string decoding for non-idempotent semirings

The single shortest path algorithm is undefined for weighted finite-stat...
research
06/18/2023

Quantum Algorithms for the Shortest Common Superstring and Text Assembling Problems

In this paper, we consider two versions of the Text Assembling problem. ...

Please sign up or login with your details

Forgot password? Click here to reset