Mental Model
Find the shortest path from one starting point to all other points by always choosing the closest unvisited point next.
Analogy: Imagine you are in a city and want to find the shortest way to every other place. You start from your home and always travel to the nearest place you haven't visited yet, updating your best known distances as you go.
Start: A Graph: A --2--> B A --5--> C B --1--> C C --3--> D D --1--> B Distances: A [0] -> B [∞] -> C [∞] -> D [∞] ↑ start
