Minimal-spanning tree model
Problem 5-40
2
9
7
3
4
6
4
6