De Bruijn graph 2026-10-20
For an alphabet of size , the order- directed graph has words of length as vertices and words of length as edges. An edge goes from its prefix of length to its suffix of that length. An Eulerian cycle therefore lists every length- word once as a cyclic window, producing a De Bruijn sequence.
Lyndon prefix 2026-10-20
A prefix of a word that is itself a Lyndon word. The longest Lyndon prefix is useful when ranking necklaces and substrings of a De Bruijn sequence.