Left Lyndon tree construction
Abstract
We extend the left-to-right Lyndon factorisation of a word to the left Lyndon tree construction of a Lyndon word. It yields an algorithm to sort the prefixes of a Lyndon word according to the infinite ordering defined by Dolce et al. (2019). A straightforward variant computes the left Lyndon forest of a word. All algorithms run in linear time on a general alphabet, that is, in the letter-comparison model.
- Publication:
-
arXiv e-prints
- Pub Date:
- November 2020
- DOI:
- 10.48550/arXiv.2011.12742
- arXiv:
- arXiv:2011.12742
- Bibcode:
- 2020arXiv201112742B
- Keywords:
-
- Computer Science - Data Structures and Algorithms;
- Computer Science - Formal Languages and Automata Theory;
- 68W32;
- 68W27;
- F.2.2;
- E.1
- E-Print:
- 18 pages