Link

https://leetcode.com/problems/network-delay-time/description/

Learning Points

PriorityQueue<int[]> pq = new PriorityQueue<>(Comparator.comparingInt(a -> a[0]));

정답 풀이