What kind of an algorithm is the prim-jarnik algorithm?
A greey algorithm, it makes decisions based on local optimality in order to get a globally optimal solution.
What is the complexity of this algorithm?
O(n^3)
What is a tv ?
tree vertex
What is an ntv?
non- tree vertex
How does the algorithm work?