Question 3 (a) Find a minimal spanning tree for the following graph using Kruskal's algorithm, then calculate its weight. 15 24 A 15 C 8 12 7 B 12 15 J 10 10 7 D 14 16 5 H 11 I E 9 19 17 14 5 6 K 20 7 F G (i) Find a minimal spanning tree for the graph above using Kruskal's algorithm. (ii) Calculate its total weights.
Added by Dustin H.
Close
Step 1
The sorted edges are: 10, 14, 15. Show more…
Show all steps
Your feedback will help us improve your experience
Michael Feffer and 92 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Sri K.
Use Kruskal’s algorithm to find a minimum spanning tree for the weighted graph in Exercise 3.
Trees
Minimum Spanning Trees
Akash M.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD