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 pricingWalk to the prefix node, then count flagged words below it.
What this asks
Count how many stored words begin with a given prefix.
Walk to the prefix node, then count flagged nodes below it; storing counts at nodes makes each query a single walk.
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