Question DSA-DP-0060
MediumWhat is the time complexity of the Floyd–Warshall DP in terms of its subproblems?
- A.
O(V³): V choices of intermediate vertex for each of V² pairs
- B.
O(E log V)
- C.
Sign up free to see the answer and a step-by-step explanation.