Q.

Floyd Warshall Algorithm can be used for finding                            

A. single source shortest path
B. topological sort
C. minimum spanning tree
D. transitive closure
Answer» D. transitive closure
Explanation: one of the ways to compute the transitive closure of a graph in theta(n3) time is to assign a weight of 1 to each edge of e and then run the floyd warshall algorithm.
854
0
Do you find this helpful?
2

Discussion

No comments yet