Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
3.4k views
in Information Technology by (121k points)
closed by
If all the weights of the graph are positive, then the minimum spanning tree of the graph is a minimum cost subgraph.

(a) True

(b) False

The question was posed to me in an online interview.

My query is from Minimum Spanning Tree in portion Minimum Spanning Tree of Data Structures & Algorithms II

1 Answer

0 votes
by (121k points)
selected by
 
Best answer
The correct answer is (a) True

The best explanation: A subgraph is a graph formed from a subset of the vertices and edges of the original graph. And the subset of vertices includes all endpoints of the subset of the edges. So, we can say MST of a graph is a subgraph when all weights in the original graph are positive.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...