0 0 votes Algorithms nptel-quiz bellman-ford time-complexity + – rsansiya111 581 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
1 1 vote Answer: B Explanation: the for loop in the bellman ford algorithm gets executed for v-1 times. after making v-1 passes, the algorithm checks for a negative weight cycle and returns appropriate boolean value. anon1 answered Dec 7, 2021 anon1 comment Share Follow 0 reply Please log in or register to add a comment.