Cycle popping · por qué funciona el algoritmo de Wilson

one realization of the stacks · two popping orders · the same tree

A
B
A · cycles popped
0
B · cycles popped
0
A · cards moved
0
B · cards moved
0
root — no stack, no card
top card already reaching the root: settled forever
a cycle on the stacks, poppable now — one colour and number per coloured cycle, the same in both panels
top card still waiting
Wilson's walk, when that order is chosen
3 cards already discarded at this vertex