[LeetCode] 1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance 阈值距离内邻居最少的城市

There are n cities numbered from 0 to n-1. Given the array edges where edges[i] = [fromi, toi, weighti] represents a bidirectional and weighted edge b
posted @ 2023-03-15 14:04  Grandyang  阅读(140)  评论(0编辑  收藏  举报
Fork me on GitHub