M

Mr. Dubey • 100.69K Points
Coach

Q. A graph is said to have a negative weight cycle when?

  • (A) the graph has 1 negative weighted edge
  • (B) the graph has a cycle
  • (C) the total weight of the graph is negative
  • (D) the graph has 1 or more negative weighted edges
Share

Explanation by: Mr. Dubey
when the total weight of the graph sums up to a negative number then the graph is said to have a negative weight cycle. bellmann ford algorithm provides no solution for such graphs.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics