Prim's MST Algorithm is an algorithm is an algorithm for finding the Minimum Spanning Tree of a graph. It is a Greedy Algorithm.
Time Complexity:
We start at an arbitrary vertex, and separate it from the rest with a Cut.
We then expand along a Light Edge.
And again expand along a light edge. In this case either
Continue until you have a full Spanning Tree.