English

Inducing the Lyndon Array

Data Structures and Algorithms 2020-09-10 v2

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)O(n) time using σ+O(1)\sigma + O(1) words of working space, where nn is the length of the text and σ\sigma is the alphabet size. Our result improves the previous best space requirement for linear time computation of the Lyndon array. In fact, all the known linear algorithms for Lyndon array computation use suffix sorting as a preprocessing step and use O(n)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.

Keywords

Cite

@article{arxiv.1905.12987,
  title  = {Inducing the Lyndon Array},
  author = {Felipe A. Louza and Sabrina Mantaci and Giovanni Manzini and Marinella Sciortino and Guilherme P. Telles},
  journal= {arXiv preprint arXiv:1905.12987},
  year   = {2020}
}

Comments

Accepted to SPIRE'19