Linear construction of a left Lyndon tree

Golnaz Badkobeh*, Maxime Crochemore

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

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.

Original languageEnglish
Article number104884
JournalINFORMATION AND COMPUTATION
Volume285
Issue numberB
Early online date3 Jun 2022
DOIs
Publication statusE-pub ahead of print - 3 Jun 2022

Keywords

  • General alphabet
  • Infinite ordering
  • Linear algorithm
  • Lyndon tree
  • Prefix sorting

Fingerprint

Dive into the research topics of 'Linear construction of a left Lyndon tree'. Together they form a unique fingerprint.

Cite this