Available question text
Given a rooted tree with node traversal costs, you may increase the cost of any nodes by arbitrary non-negative amounts so that all root-to-leaf path sums become equal; compute the minimum number of nodes that must be increased. The core challenge is choosing nodes (including internal ones whose increases affect multiple descendant leaves) to cover the deficits up to the maximum path sum while minimizing the count of modified nodes.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 3593. Minimum Increments to Equalize Leaf Paths
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source