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

Match List I with List II and choose the correct answer from the code given below.

Figure

Where V and E are the number of vertices and edges in the graph respectively.

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. (a)-(iii), (b)-(i), (c)-(ii), (d)-(iv)

Explanation

Dijkstra with an array is O(V²); Kruskal is O(E log E); Floyd–Warshall is O(V³); topological sort is O(V + E).

More Data Structures and Algorithms questions