[LeetCode] 2477. Minimum Fuel Cost to Report to the Capital
![[LeetCode] 2477. Minimum Fuel Cost to Report to the Capital](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FdbiNgY%2FbtrYUv8FfN6%2FTsjC9KocEnKhmOjqJBTEF1%2Fimg.png)
[LeetCode] 2477. Minimum Fuel Cost to Report to the Capital
2477. Minimum Fuel Cost to Report to the Capital Medium There is a tree (i.e., a connected, undirected graph with no cycles) structure country network consisting of n cities numbered from 0 to n - 1 and exactly n - 1 roads. The capital city is city 0. You are given a 2D integer array roads where roads[i] = [ai, bi] denotes that there exists a bidirectional road connecting cities ai and bi. There..