Sum of Subset XOR Totals
Given an array, consider every possible subset (including the empty set). For each subset, compute the XOR of all its elements. Sum these XOR totals across all subsets and return the result.
Given an array, consider every possible subset (including the empty set). For each subset, compute the XOR of all its elements. Sum these XOR totals across all subsets and return the result.