Examveda

How does the Bellman-Ford algorithm handle negative weight edges?

A. It ignores them.

B. It converts them into positive weights.

C. It can handle them but not negative weight cycles.

D. It requires all edges to be non-negative.

Answer: Option C


This Question Belongs to Data Structure >> Graphs

Join The Discussion

Related Questions on Graphs

What is a cycle in a graph?

A. A path that starts and ends at the same vertex with no other repetitions.

B. A path that includes all vertices exactly once.

C. A path with no edges.

D. A complete traversal of all vertices.