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 pricingConcept theory, tags and interview notes for Dijkstra's shortest path.
What this asks
Find shortest weighted paths from one source.
A priority queue always settles the closest unsettled vertex and relaxes its neighbours.
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