arXiv:2610.09410cs.DSOct 2026

Manuscript Offprint

arXiv:2610.09410

Generating cyclic pivot Gray codes for well-ordered kk-degenerate graphs in constant amortized time

Lei Dong, Dennis Wong, Bowie Liu, Rui Bao, Lin Chen, Chan-Tong Lam, Sio-Kei Im

Highlights

Generating cyclic pivot Gray codes for well-ordered k-degenerate graphs in constant amortized time

Lei Dong, Dennis Wong, Bowie Liu, Rui Bao, Lin Chen, Chan-Tong Lam, Sio-Kei Im

• First constant-amortized-time pivot Gray codes for well-ordered k-degenerate graphs.

• Generation in O(n2)O(n^{2}) space; consecutive graphs differ by one edge insertion, deletion, or pivot.

• Exact closed-form enumeration of well-ordered k-degenerate graphs.

• Ranking and unranking in O(n2)O(n^{2}) time and O(n2)O(n^{2}) space.