Module Shortest path

Shortest path

**Frequency: 8/10** In unweighted graph, we can use BFS to find shortest path. This module covers problems involve in finding shortest path on weighted graph, as well as other applications of these shortest path algorithms in some non-graph-related problems.

Resources

- [CP Algorithms: Dijkstra](https://cp-algorithms.com/graph/dijkstra.html) - [CP Algorithms: Bellman-Ford](https://cp-algorithms.com/graph/bellman_ford.html) - [CP Algorithms: Floyd-Warshall Algorithm](https://cp-algorithms.com/graph/all-pair-shortest-path-floyd-warshall.html)

Problems

Shortest path 529 / 560 1000
Delete edge 378 / 420 1100
3D path 203 / 217 1100
Number of shortest paths 338 / 358 1200
Double edge 193 / 270 1300
Second shortest path 219 / 255 1400
Bye bye maximum edge 228 / 257 1500
Boardgame 165 / 188 1500
Teleport 124 / 128 1500
? 96 / 125 1600
Math 137 / 169 1700
Festival 3 128 / 140 1700
Arbitrage 105 / 123 1700
Festival 4 97 / 100 1800
String construction 52 / 63 1800
Bye bye maximum edge 2 21 / 26 1900
Elevator 90 / 109 2000
Holiday 13 / 13 2100
Fortress defense 12 / 23 2200