Skip to content
Related Articles
Open in App
Not now

Related Articles

Algorithms | Graph Minimum Spanning Tree | Question 4

Improve Article
Save Article
Like Article
  • Last Updated : 28 Jun, 2021
Improve Article
Save Article
Like Article

In the graph given in above question, what is the minimum possible weight of a path P from vertex 1 to vertex 2 in this graph such that P contains at most 3 edges?

(A)

7

(B)

8

(C)

9

(D)

10


Answer: (B)

Explanation:

Path: 1 -> 0 -> 4 -> 2 Weight: 1 + 4 + 3


Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Like Article
Save Article
Related Articles

Start Your Coding Journey Now!