Minimum Score After Removals on a Tree | Leetcode 2322 | DFS