Longest Unbordered Factor in Quasilinear Time

05/24/2018
by   Tomasz Kociumaka, et al.
0

A border u of a word w is a proper factor of w occurring both as a prefix and as a suffix. The maximal unbordered factor of w is the longest factor of w which does not have a border. Here an O(n log n)-time with high probability (or O(n log n log^2 log n)-time deterministic) algorithm to compute the Longest Unbordered Factor Array of w for general alphabets is presented, where n is the length of w. This array specifies the length of the maximal unbordered factor starting at each position of w. This is a major improvement on the running time of the currently best worst-case algorithm working in O(n^1.5 ) time for integer alphabets [Gawrychowski et al., 2015].

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/25/2020

Dynamic Set Cover: Improved Amortized and Worst-Case Update Time

In the dynamic minimum set cover problem, a challenge is to minimize the...
research
08/08/2022

Almost optimal searching of maximal subrepetitions in a word

For 0<δ <1 a δ-subrepetition in a word is a factor which exponent is les...
research
04/09/2022

Reduction ratio of the IS-algorithm: worst and random cases

We study the IS-algorithm, a well-known linear-time algorithm for comput...
research
05/07/2021

Faster Algorithms for Longest Common Substring

In the classic longest common substring (LCS) problem, we are given two ...
research
09/19/2022

Cache-Oblivious Representation of B-Tree Structures

We present a data structure CORoBTS for storing a search tree with all l...
research
06/15/2021

Locally Differentially Private Frequency Estimation

We present two new local differentially private algorithms for frequency...
research
04/06/2021

Sorted Range Reporting

In sorted range selection problem, the aim is to preprocess a given arra...

Please sign up or login with your details

Forgot password? Click here to reset