Question 13
Suppose we run the Bellman-Ford algorithm on a directed graph where every edge weight is strictly positive. Which of the following statements accurately describes the behavior of the algorithm?
The algorithm will produce incorrect results because it is exclusively designed to process negative edge weights.
The algorithm will correctly find the shortest paths; however, its worst-case time complexity is higher than that of Dijkstra's algorithm for graphs with non-negative edge weights.
The algorithm will terminate early after exactly 1 iteration because positive edge graphs do not require path relaxation.
The algorithm will flag the graph as containing a negative cycle because it expects at least one negative edge value.