Given an integer array nums and an integer target, determine the minimum number of elements that must be removed from nums so that the bitwise XOR sum of the remaining elements is equal to target.
Return the minimum number of removals required. If it is impossible to achieve a bitwise XOR sum equal to target, return
Constraints:
nums.length
nums[i]
target
Given an integer array nums and an integer target, determine the minimum number of elements that must be removed from nums so that the bitwise XOR sum of the remaining elements is equal to target.
Return the minimum number of removals required. If it is impossible to achieve a bitwise XOR sum equal to target, return
Constraints:
nums.length
nums[i]
target