Given below are some algorithms, and some algorithm design paradigms.\[\begin{array}{ll} \text{1. Dijkstra's shortest path} & \text{i. Divide and Conquer} \\ \text{2. Floyd-Warshall (all pairs shortest paths)} & \text{ii. Dynamic Programming} \\ \text{3. Binary search on a sorted array} & \text{iii. Greedy design} \\ \text{4. Backtracking search on a graph} & \text{iv. Depth-first search} \\ & \text{v. Breadth-first search} \end{array}\]Match the above algorithms on the left to the corresponding design paradigm they follow.
- A1-i, 2-iii, 3-i, 4-v
- B1-iii, 2-iii, 3-i, 4-v
- C1-iii, 2-ii, 3-i, 4-iv
- D1-iii, 2-ii, 3-i, 4-v