Question 1
Which of the following is (are) correct?
Floyd-Warshall algorithm is used for all pair shortest paths.
The Shortest path problem is not applicable to a graph with a negative weight cycle.
Bellman-Ford algorithm is used for single source shortest path.
Dijkstra’s algorithm is used for all pair shortest paths.