Question

Which data structure is used in Prim’s Algorithm to efficiently find the minimum edge connecting a vertex to the spanning tree?

A Binary Search Tree
B Adjacency List
C Min-Heap (Priority Queue)
D Adjacency Matrix
E Disjoint Set
Practice Next

Hey! Ask a query