Three-Degree-Bounded Maximum Cost Subtree | CodeChef