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 network of roads connecting cities. You start from one city and always pick the shortest road that connects a new city to your existing network, avoiding loops.
Graph: (0) / \ (1)---(2) Edges with weights: 0-1: 4, 0-2: 3, 1-2: 5 Start at node 0: [0] -> (2) -> (1) Prim's tree grows by adding cheapest edges connecting new nodes.
