Choose Edges to Maximize Score in a Tree

Choose Edges to Maximize Score in a Tree - Coding Problem | K5kC