Lexicographically minimal rotation if the rotation of a string possessing the lowest lexicographical order of all its rotations.
🔗
- Lexicographically minimal string rotation – Wikipedia
📝
- This algorithm is also known as the Zhou Yuan’s minimal expression algorithm.
🔗
- Lyndon factorization – CP-Algorithms
- How does the minimum expression algorithm by Zhou Yuan work? – Quora
Lyndon word is a (non-empty) string that is strictly smaller in lexicographic order than all of its rotations. Lyndon factorization is a decomposition of a string
sinto Lyndon words,s = w1w2...wn, such thatw1 ≥ wi ≥ ... ≥ wn.
📝
🔗
- Lyndon word – Wikipedia
🔗
- Lyndon factorization – CP-Algorithms
📄
- J.P.Duval. Factorizing words over an ordered alphabet – Journal of algorithms 8, 363 (1983)
- S.S.Ghuman, E.Giaquinta, J.Tarhio. Alternative algorithms for Lyndon factorization – arXiv preprint (2014)
🔗
- Knuth–Morris–Pratt algorithm – Wikipedia
🎥
- W.Brinkman. KMP searching algorithm (2017)