0 votes 0 votes Algorithms nptel-quiz bellman-ford time-complexity + – rsansiya111 asked Dec 7, 2021 • retagged Jun 27, 2022 by makhdoom ghaya rsansiya111 318 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
2 votes 2 votes 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. raja11sep answered Dec 7, 2021 raja11sep comment Share Follow See all 0 reply Please log in or register to add a comment.