Leetcode 2378. Choose Edges to Maximize Score in a Tree | Hello Interview