Module Multisource BFS / Dijkstra

Multisource BFS / Dijkstra

**Frequency: 3/10** Multisource BFS is an algorithm that simultaneously starts BFS from multiple vertices, exploring a graph efficiently from multiple origins to determine shortest paths. Similar for multisource Dijkstra. "Simultaneously" here is nothing but pushing every starting vertices to the queue.

Resources

hehe

Problems

Rough ocean 161 / 208 1000
Restaurant 124 / 140 1300
Escape from... dolls 2 107 / 112 1400
Power plant 121 / 131 1500
Iceberg 106 / 128 1500