Match List I with List II

Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: B. a-III, b-II, c-I, d-IV
Explanation
Dijkstra stores the total cost from the source to each node; Prim stores the minimum-cost edge to each vertex; Warshall computes the path (reachability) matrix; Kruskal finds a minimum spanning tree.
More Data Structures and Algorithms questions
- Given the graph below one of the following edges cannot be added in that order to find a minimum spanning tree algorithm. Q I. a-b II. d-f…
- Statement 1: su Given a graph G=(V, E) in which each vertex v € V has an associated positive weight w(v), we can Q use linear programming t…
- The solution of the recurrence T(n) = 3T(n/4) + n log n is
- Consider a B-tree of height h and minimum degree t ≥ 2 containing n keys, n ≥ 1. Which is correct?
- How many rotations are required during the construction of an AVL tree if the elements 35, 50, 40, 25, 30, 60, 78, 20, 28 are added in this…
- For the graph shown, the following depth-first search sequences are given: (A) abcghf (B) abfchg (C) abfhgc (D) afghbc. Which of the follow…