The worst case is the worst case time complexity of Prim’s algorithm if the adjacency matrix is used.
The worst case is the worst case time complexity of Prim’s algorithm if the adjacency matrix is used.


Right Answer is:
O(V2)
SOLUTION
The use of an adjacency matrix provides the simple implementation of Prim’s algorithm.
In Prim’s algorithm, we need to search for the edge with a minimum for that vertex. So, worst case time complexity will be O(V2), where V is the number of vertices.