Prim's algorithm - grow MST greedily from a start vertex using a priority queue; O(E log V) PYQs | Prasnya