Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  What is the weight of a minimum spanning tree... Start Learning for Free
What is the weight of a minimum spanning tree of the following graph ?
  • a)
    29
  • b)
    31
  • c)
    38
  • d)
    41
Correct answer is option 'B'. Can you explain this answer?
Verified Answer
What is the weight of a minimum spanning tree of the following graph ?...
(a,c), (a,d), (d,b), (b,g), (g,h), (h,f), (h,i), (i,j), (i,e) = 31   Background required - Minimum Spanning Tree (Prims / Kruskal) In these type of questions, always go for kruskal’s algorithm to find out the the minimum spanning tree as it is easy and there are less chances of doing silly mistakes. Algorithm: Always pick the minimum edge weight and try to add to current forest (Collection of Trees) if no cycle is formed else discard. As soon as u have added n-1 edges to the forest, stop and you have got your minimum spanning tree. See the below image for construction of MST of this question.
Weight of minimum spanning tree = Sum of all the edges in Minimum Spanning tree = 31
View all questions of this test
Most Upvoted Answer
What is the weight of a minimum spanning tree of the following graph ?...
(a,c), (a,d), (d,b), (b,g), (g,h), (h,f), (h,i), (i,j), (i,e) = 31   Background required - Minimum Spanning Tree (Prims / Kruskal) In these type of questions, always go for kruskal’s algorithm to find out the the minimum spanning tree as it is easy and there are less chances of doing silly mistakes. Algorithm: Always pick the minimum edge weight and try to add to current forest (Collection of Trees) if no cycle is formed else discard. As soon as u have added n-1 edges to the forest, stop and you have got your minimum spanning tree. See the below image for construction of MST of this question.
Weight of minimum spanning tree = Sum of all the edges in Minimum Spanning tree = 31
Free Test
Community Answer
What is the weight of a minimum spanning tree of the following graph ?...
(a,c), (a,d), (d,b), (b,g), (g,h), (h,f), (h,i), (i,j), (i,e) = 31   Background required - Minimum Spanning Tree (Prims / Kruskal) In these type of questions, always go for kruskal’s algorithm to find out the the minimum spanning tree as it is easy and there are less chances of doing silly mistakes. Algorithm: Always pick the minimum edge weight and try to add to current forest (Collection of Trees) if no cycle is formed else discard. As soon as u have added n-1 edges to the forest, stop and you have got your minimum spanning tree. See the below image for construction of MST of this question.
Weight of minimum spanning tree = Sum of all the edges in Minimum Spanning tree = 31
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Question Description
What is the weight of a minimum spanning tree of the following graph ?a)29b)31c)38d)41Correct answer is option 'B'. Can you explain this answer? for Computer Science Engineering (CSE) 2025 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about What is the weight of a minimum spanning tree of the following graph ?a)29b)31c)38d)41Correct answer is option 'B'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2025 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for What is the weight of a minimum spanning tree of the following graph ?a)29b)31c)38d)41Correct answer is option 'B'. Can you explain this answer?.
Solutions for What is the weight of a minimum spanning tree of the following graph ?a)29b)31c)38d)41Correct answer is option 'B'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of What is the weight of a minimum spanning tree of the following graph ?a)29b)31c)38d)41Correct answer is option 'B'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of What is the weight of a minimum spanning tree of the following graph ?a)29b)31c)38d)41Correct answer is option 'B'. Can you explain this answer?, a detailed solution for What is the weight of a minimum spanning tree of the following graph ?a)29b)31c)38d)41Correct answer is option 'B'. Can you explain this answer? has been provided alongside types of What is the weight of a minimum spanning tree of the following graph ?a)29b)31c)38d)41Correct answer is option 'B'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice What is the weight of a minimum spanning tree of the following graph ?a)29b)31c)38d)41Correct answer is option 'B'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev