You are given an integer array nums.
Consider all possible triplets of indices nums.length. For each triplet, evaluate the bitwise XOR sum nums[i] ^ nums[j] ^ nums[k].
Return the number of unique XOR values that can be formed.
Constraints:
nums.length
nums[i]
You are given an integer array nums.
Consider all possible triplets of indices nums.length. For each triplet, evaluate the bitwise XOR sum nums[i] ^ nums[j] ^ nums[k].
Return the number of unique XOR values that can be formed.
Constraints:
nums.length
nums[i]