Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Topic: Discrete Mathematics and its Applications\" Chapter 11: Tree: Tree Traver

ID: 3717830 • Letter: T

Question

Topic: Discrete Mathematics and its Applications" Chapter 11: Tree: Tree Traversal,Spanning Trees, and Minimum Spanning Trees"

6. For the following city distance graph (from https://cs.nyu.edu/courses/fall16/ CSCI-UA.0102-001/Notes/cities.gif 4086 London New Yor Frague 3463 643 7352 5278 T23 5305 73 692 3179 3196 7840 Shanghai 4697 Accra Buenos Ai (a) Use Prim's algorithm to construct a minimum spanning tree for this city-distance graph. You don't need to draw the tree, just give the sequence of edge weights as they are added to the tree Answer only; no explanation needed (b) Use Kruskal's algorithm to construct a minimum spanning tree for this city- distance graph. You don't need to draw the tree, just give the sequence of edge weights as they are added to the tree. Answer only; no explanation needed

Explanation / Answer

minimum spanning tree using Prim's algorithm:(sequence of edge weight)

643,3179,3463,4697,5278

minimum spanning tree using Kruskal's algorithm:(sequence of edge weight)

643,3179,3463,4697,5278