Mental Model
Start from any node and keep adding the cheapest edge that connects a new node to the growing tree until all nodes are included.
Analogy: Imagine building a road network connecting all cities with the least total cost by always choosing the cheapest road that links a new city to the network you already built.
Graph nodes: 0, 1, 2, 3 Edges with weights: 0 --2-- 1 0 --3-- 3 1 --1-- 2 2 --4-- 3 Initial: 0 1 2 3 Start from node 0: [0] 1 2 3
