Advanced Graphs
121 / 170Advanced GraphsLesson 6 of 6About 48 min
Two problems rebuilt cold, plus the preconditions that pick the algorithm for you.
Flights between cities have prices, some routes offer a rebate making the effective price negative, and you need the cheapest total from one city to another. Which approach is correct?
You have solved this one before. Rebuild it from scratch without looking at your old submission. If the approach does not come back within a few minutes, that is the signal that it needs another pass.
You have solved this one before. Rebuild it from scratch without looking at your old submission. If the approach does not come back within a few minutes, that is the signal that it needs another pass.