Skip to content
RED SAG Skills
medium10 pts · first answer countsgraphsshortest-pathbellman-ford

Cheapest flight with at most k stops

You run k + 1 rounds of Bellman-Ford to find the cheapest flight with at most k stops. Why must each round read from a copy of the previous distances?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions