(int pair1[], int pair2[])
| 8 | //(parent, node, weight) |
| 9 | PriorityQueue<int[]> pq = new PriorityQueue<>(new Comparator<>(){ |
| 10 | public int compare(int pair1[], int pair2[]){ |
| 11 | return pair1[2] - pair2[2]; |
| 12 | } |
| 13 | }); |
| 14 | int sum=0; |
| 15 | ArrayList<int[]> edges = new ArrayList<>(); |
nothing calls this directly
no outgoing calls
no test coverage detected