Status: IN
The sum of XOR totals over all subsets equals `reduce(or_, nums) * 2^(len(nums)-1)`, reducing subset XOR summation from O(n·2^n) enumeration to O(n) time and O(1) space.
Source: entries/2026/06/06/sum-of-all-subset-xor-totals-solution.md
JSON