Find the Maximum Sequence Value of Array
Pick 2k elements; the value is OR(first half) XOR OR(second half). Prefix and suffix sets of achievable OR values find the best split.
Pick 2k elements; the value is OR(first half) XOR OR(second half). Prefix and suffix sets of achievable OR values find the best split.