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.
De Bruijn sequence 2026-10-20
A cyclic sequence over an alphabet of size in which every word of length appears exactly once as a cyclic window. Its length is . The De Bruijn graph converts its construction into an Eulerian cycle problem.