All mock tests are FREE till 31 December — register to save your progress
Unit 7 · Data Structures and Algorithms Paper 2 CS · June 2024 (Re-Exam)

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)-(II), (B)-(I), (C)-(III), (D)-(IV)

Explanation

Dijkstra: single-source shortest paths with non-negative weights. Floyd–Warshall: all-pairs shortest paths. Bellman–Ford: single source with negative weights allowed. Prim: minimum spanning tree.

More Data Structures and Algorithms questions