As I opted for option 1 and 3 (-6, infinity),(-7, Infinity) and applied the Bellman-Ford algorithm for shortest path calculation, the calculation did not show any negative cycles after n’th steps for both the options(I might be wrong). Therefore is it valid to say that the value of “X” should be at least “-7” to avoid any negative cycles ?
New contributor
Rit Mukherjee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1