Space Efficient Construction of Lyndon Arrays in Linear Time

11/08/2019
by   Philip Bille, et al.
0

We present the first linear time algorithm to construct the 2n-bit version of the Lyndon array using only o(n) bits of working space. A simpler variant of this algorithm computes the plain (n n-bit) version of the Lyndon array using only O(1) words of additional working space. All previous algorithms are either not linear, or use at least n n bits of additional working space. Also in practice, our new algorithms outperform the previous best ones by an order of magnitude, both in terms of time and space.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/30/2019

Inducing the Lyndon Array

In this paper we propose a variant of the induced suffix sorting algorit...
research
06/03/2019

Direct Linear Time Construction of Parameterized Suffix and LCP Arrays for Constant Alphabets

We present the first worst-case linear time algorithm that directly comp...
research
12/10/2017

A Scalable High-Performance Priority Encoder Using 1D-Array to 2D-Array Conversion

In our prior study of an L-bit priority encoder (PE), a so-called one-di...
research
03/10/2020

Optimal-size problem kernels for d-Hitting Set in linear time and space

We improve two linear-time data reduction algorithms for the d-Hitting S...
research
01/16/2019

Space-Efficient Computation of the LCP Array from the Burrows-Wheeler Transform

We show that the Longest Common Prefix Array of a text collection of tot...
research
08/14/2019

Re-Pair In-Place

Re-Pair is a grammar compression scheme with favorably good compression ...
research
06/15/2023

Easier Estimation of Extremes under Randomized Response

In this brief note, we consider estimation of the bitwise combination x_...

Please sign up or login with your details

Forgot password? Click here to reset