All mock tests are FREE till 31 December — register to save your progress
Unit 7 · Data Structures and Algorithms Paper 2 CS · December 2022 (Shift 2)

Match List I with List II

Figure

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