1. MST Foundations: Prim and Kruskal's Algorithms