Floyd Warshall’s Algorithm is used for solving ____________

Duyên Trương

New member
Floyd Warshall’s Algorithm is used for solving ____________
A. All pair shortest path problems
B. Single Source shortest path problems
C. Network flow problems
D. Sorting problems
 
Answer: a
Explanation: Floyd Warshall’s Algorithm is used for solving all pair shortest path problems. It means the algorithm is used for finding the shortest paths between all pairs of vertices in a graph.
 

Tìm kiếm

Back
Top