Q. Floyd Warshall Algorithm can be used for finding

  • (A) single source shortest path
  • (B) topological sort
  • (C) minimum spanning tree
  • (D) transitive closure
πŸ’¬ Discuss
βœ… Correct 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.

Explanation by: Mr. Dubey
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

πŸ“Š Question Analytics

πŸ‘οΈ
290
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate