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 pricingGrow one tree: always add the cheapest edge that leaves the current set, via a priority queue.
What this asks
Grow one cheapest spanning tree from a start vertex.
Always add the cheapest edge leaving the current set, kept ready in a priority queue.
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