McqMate
| 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. | |
View all MCQs in
Design and Analysis of AlgorithmsNo comments yet