Available question text
Given a tree with integer node values, remove two edges to split it into three components and minimize the difference between the largest and smallest component XORs. The core challenge is computing subtree XORs and efficiently evaluating cut pairs (considering ancestor/descendant relationships and subtree intervals) to avoid quadratic brute force.
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 2322. Minimum Score After Removals on a Tree
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source