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 602 / 635 1000
Delete edge 436 / 483 1100
3D path 237 / 254 1100
Number of shortest paths 389 / 409 1200
Double edge 239 / 316 1300
Second shortest path 266 / 305 1400
Bye bye maximum edge 273 / 303 1500
Boardgame 202 / 230 1500
Teleport 161 / 164 1500
? 115 / 146 1600
Math 161 / 194 1700
Festival 3 148 / 161 1700
Arbitrage 122 / 142 1700
Festival 4 110 / 115 1800
String construction 58 / 71 1800
Bye bye maximum edge 2 31 / 44 1900
Elevator 95 / 116 2000
Holiday 21 / 22 2100
Fortress defense 16 / 29 2200