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 339 / 358 1200
Double edge 194 / 272 1300
Second shortest path 221 / 257 1400
Bye bye maximum edge 230 / 259 1500
Boardgame 166 / 189 1500
Teleport 125 / 129 1500
? 96 / 126 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