I was wondering what the best approach is to solve this problem here, Problem Statement
Which results in the tree: Minimum Weighted Tree
Is there a better way