Problem 787 · Medium
Dijkstra over (cost, stops, city) states, pruning states dominated by an earlier cheaper pop.
Open the interactive visualisation