Maximum Subtree of the Same Color

mediumSolve on LeetCode
Last edited: October 12, 2025