In the following table, the left column contains the names of standard graph algorithms and the right column contains the time complexities of the algorithms. Match each algorithm with its time complexity.$$\begin{array}{|ll|ll|}\hline \text{1.} & \text{Bellman-Ford algorithm} & \text{A:} & \text{$O(m\log n)$} \\\hline \text{2.} & \text{Kruskal’s algorithm} & \text{B:}& \text{$O(n^3)$} \\\hline \text{3.}& \text{Floyd-Warshall algorithm} & \text{C:} & \text{$O(nm)$} \\\hline \text{4.} & \text{Topological sorting} &\text{D:} & \text{$O(n+m)$} \\\hline \end{array}$$
- $\text{1→ C, 2 → A, 3 → B, 4 → D}$
- $\text{1→ B, 2 → D, 3 → C, 4 → A}$
- $\text{1→ C, 2 → D, 3 → A, 4 → B}$
- $\text{1→ B, 2 → A, 3 → C, 4 → D}$