Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2015 Set 2
Questions

Q36

MCQ2 marks, −0.67AlgorithmsEasy

Given below are some algorithms, and some algorithm design paradigms.

1.Dijkstra’s Shortest Pathi.Divide and Conquer2.Floyd-Warshall algorithm to computeall pair shortest pathii.Dynamic Programming3.Binary search on a sorted arrayiii.Greedy design4.Backtracking search on a graphiv.Depth-first searchv.Breadth-first search\begin{array}{|ll|ll|}\hline \text{1.} & \text{Dijkstra's Shortest Path} & \text{i.} & \text{Divide and Conquer} \\\hline \text{2.} & \text{Floyd-Warshall algorithm to compute} \\& \text{all pair shortest path} & \text{ii.}& \text{Dynamic Programming} \\\hline \text{3.}& \text{Binary search on a sorted array} & \text{iii.} & \text{Greedy design} \\\hline \text{4.} & \text{Backtracking search on a graph} &\text{iv.} & \text{Depth-first search} \\\hline & &\text{v.} & \text{Breadth-first search} \\\hline \end{array}

Match the above algorithms on the left to the corresponding design paradigm they follow.

Sign in to save attempts.

Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.