Subtree Removal Game
Alice and Bob take turns removing subtrees from a tree, scoring the bitwise AND of the removed subtree's values. Alice wins if her total XOR exceeds Bob's. Both play optimally — determine if Alice has a winning strategy.
Alice and Bob take turns removing subtrees from a tree, scoring the bitwise AND of the removed subtree's values. Alice wins if her total XOR exceeds Bob's. Both play optimally — determine if Alice has a winning strategy.