3004: Maximum Subtree of the Same Color

Problem Statement