This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingEach subtree reports its surplus or deficit; every unit of imbalance is one move across the edge above.
What this asks
Move coins between nodes so every node ends with exactly one, counting the fewest moves.
Each subtree reports its surplus or deficit; the absolute value of that report is the number of moves across the edge to its parent.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing