Company: Google
Difficulty: medium
Maximum XOR of Two Numbers in an Array Given n non-negative integers, print the largest nums[i] XOR nums[j] for any indices i and j. Input Format The first line contains n. The second line contains the n integers. Output Format Print the maximum XOR value. Constraints - 1 <= n <= 200000 - 0 <= nums[i] <= 2^31 - 1