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 pricingList every path from the root down to a leaf, carrying the current path through one walk.
What this asks
List every path from the root down to a leaf.
Carry the current path through a depth-first walk: add the node on the way down, record at a leaf, remove it on the way back up.
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