Minimum Score After Removals on a Tree
Choose two tree edges to remove and minimize the difference between the largest and smallest component XOR.
Choose two tree edges to remove and minimize the difference between the largest and smallest component XOR.