Leetcode 3004. Maximum Subtree of the Same Color | Hello Interview