Codigo Kruskal Java
Codigo Kruskal Java
*;
}
/* The example's input:
7 9
1 2 4
7 2 2
6 2 3
6 5 1
5 3 20
4 3 6
1 4 7
2 5 2
2 3 1
Explanation of Input:
N M
1
.. { The edges described as a b w -> meaning (edge from a to b with weight w)
M
*/