Challenge for Minimum Spanning Tree

Challenge

For each case, print out the edge-weights of the minimum spanning tree. Print them in the order of Prim's Algorithm, starting from Node 0.

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Contact Us
Sign in or email us at [email protected]