Exercise: Select Edges as Specified by Prim’s Algorithm

Attempt this exercise to see if you can identify the order in which edges are selected by Prim’s algorithm for building a minimum spanning tree.

We'll cover the following

The task at hand

Select the edges of the following graph in the order in which they are selected by Prim’s algorithm for building a minimum spanning tree using v6v_6 as the root vertex.

Get hands-on with 1400+ tech skills courses.