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.
832
0
Do you find this helpful?
6

Discussion

No comments yet