Consider the graph shown below. Which of the following edges form the MST of the given graph using Prim’a algorithm, starting from vertex 4.

Consider the graph shown below. Which of the following edges form the MST of the given graph using Prim’a algorithm, starting from vertex 4. Correct Answer (4-3)(3-2)(2-1)(1-5)

The MST for the given graph using Prim’s algorithm starting from vertex 4 is, So, the MST contains edges (4-3)(3-2)(2-1)(1-5).

Related Questions

Consider the undirected graph below: Using Prim's algorithm to construct a minimum spanning tree starting with node a, which one of the following sequences of edges represents a possible order in which the edges would be added to construct the minimum spanning tree?