Q. |
Bellmann Ford algorithm is used to indicate whether the graph has negative weight cycles or not. |
A. | true |
B. | false |
Answer» A. true | |
Explanation: bellmann ford algorithm returns true if the graph does not have any negative weight cycles and returns false when the graph has negative weight cycles. |
Login to Continue
It will take less than 2 minutes