What is the cost of the minimum spanning tree of the below graph using Prim's algorithm?
Show Hint
For a graph with \(n\) vertices, an MST always contains exactly
\[
n-1
\]
edges.
Prim's algorithm repeatedly selects the minimum-weight edge that connects a visited vertex to an unvisited vertex.