Question 14101 – Mathematical-Reasoning
November 27, 2023
Question 13943 – Algorithms
November 27, 2023
Question 14101 – Mathematical-Reasoning
November 27, 2023
Question 13943 – Algorithms
November 27, 2023

Question 13897 – Algorithms

Consider the undirected graph below:

Using Prim’s algorithm to construct a minimum spanning tree starting with node a, which one of the following sequences of edges represents a possible order in which the edges would be added to construct the minimum spanning tree?

Correct Answer: E

Question 549 Explanation: 


The final sequence is a-b, b-c, c-i, c-f, f-g, g-h, c-d, d-e
A
(a,b), (a,h), (g,h), (f,g), (c,f), (c,i), (c,d), (d,e)
B
(a,b), (b,h), (g,h), (g,i), (c,i), (c,f), (c,d), (d,e)
C
(a,b), (b,c), (c,i), (c,f), (f,g), (g,h), (c,d), (d,e)
D
(a,b), (g,h), (g,f), (c,f), (c,i), (f,e), (b,c), (d,e)
E
A and C
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!