Inducing the Lyndon Array

Felipe A. Louza, Sabrina Mantaci, Giovanni Manzini, Marinella Sciortino, Guilherme P. Telles
5/30/2019
cs.DS

Official code: felipelouza/lyndon-array (9 stars, C, last commit 2021-01-25).

Abstract

In this paper we propose a variant of the induced suffix sorting algorithm by Nong (TOIS, 2013) that computes simultaneously the Lyndon array and the suffix array of a text in $O(n)$ time using $σ+ O(1)$ words of working space, where $n$ is the length of the text and $σ$ is the alphabet size. Our result improves the previous best space requirement for linear time computation of the Lyndon array.

Show full abstract

In fact, all the known linear algorithms for Lyndon array computation use suffix sorting as a preprocessing step and use $O(n)$ words of working space in addition to the Lyndon array and suffix array. Experimental results with real and synthetic datasets show that our algorithm is not only space-efficient but also fast in practice.

View on arXivView PDF

Code Implementations(1)

Computing the Lyndon Array in linear time [JDA 2018, SPIRE'19]

91C, PythonMar 11, 20195 years ago
burrows-wheeler-transformlyndon-arraysuffix-array

Similar Papers

Cite this paper

@article{louza2019inducing,
  title  = {Inducing the Lyndon Array},
  author = {Felipe A. Louza and Sabrina Mantaci and Giovanni Manzini and Marinella Sciortino and Guilherme P. Telles},
  year   = {2019},
  eprint = {1905.12987},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.12987}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1905.12987.svg)](https://codeofpaper.com/paper/1905.12987)

Discussion