Given an array of integers and a value, how do I efficiently ( better than O(n) ) find the element of the array that gives the maximum result after XORing with the given value?
help!
Given an array of integers and a value, how do I efficiently ( better than O(n) ) find the element of the array that gives the maximum result after XORing with the given value?