Minimum value to be added to maximize Bitwise XOR of the given array
Given an array arr[] consisting of N integers, the task is to find an integer K, not having more than maximum bits present in any array element, which when added to the array, maximizes the Bitwise XOR of the array. Examples: Input: N = 7, arr[] = {1, 7, 8, 11, 6, 9, 6}Output: 3Explanation:Bitwise X