Rosetta Problems

Shortest Distance After Road Addition Queries I

https://leetcode.com/problems/shortest-distance-after-road-addition-queries-i