Efficient Ranking of Lyndon Words and Decoding Lexicographically Minimal de Bruijn Sequence
Tomasz Kociumaka, Jakub Radoszewski, Wojciech Rytter

TL;DR
This paper introduces efficient algorithms for ranking Lyndon words and decoding minimal de Bruijn sequences, improving computational complexity and enabling practical applications in combinatorics and sequence analysis.
Contribution
It presents the first polynomial-time algorithm for decoding minimal de Bruijn sequences and improves Lyndon word ranking algorithms on the word-RAM model.
Findings
Lyndon word ranking algorithm runs in O(n^2 log σ) time.
Decoding minimal de Bruijn sequences is achieved in polynomial time.
Algorithms are efficient for large alphabet sizes and word lengths.
Abstract
We give efficient algorithms for ranking Lyndon words of length over an alphabet of size . The rank of a Lyndon word is its position in the sequence of lexicographically ordered Lyndon words of the same length. The outputs are integers of exponential size, and complexity of arithmetic operations on such large integers cannot be ignored. Our model of computations is the word-RAM, in which basic arithmetic operations on (large) numbers of size at most take time. Our algorithm for ranking Lyndon words makes arithmetic operations (this would imply directly cubic time on word-RAM). However, using an algebraic approach we are able to reduce the total time complexity on the word-RAM to . We also present an -time algorithm that generates the Lyndon word of a given length and rank in lexicographic order. Finally we…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · semigroups and automata theory · Coding theory and cryptography
