
Isaac W. answered 12/04/20
Tutor for Computer Science at UH
Prim's minimum spanning tree (or Kruskal's) will find the least amount of length required to span the entire undirected graph.
Dijkstra's shortest path algorithm can be used to find the shortest path between two vertices, and not the entire graph (connecting each vertex using the shortest path).