1. Computer Science Engineering (CSE)
  2. Design and Analysis of Algorithms
  3. Floyd Warshall Algorithm can be used for...
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.

Discussion