Given an array of at least two non-negative integers, return the maximum value of nums[i] XOR nums[j] over all pairs of distinct positions.
Input: A JSON object {"nums": [<non-negative integers>]}.
Output: Return the maximum pairwise XOR.
Input: {"nums":[3,10,5,25,2,8]}
Output: 28
Explanation: 5 XOR 25 = 28 is maximal.Input: {"nums":[0,0]}
Output: 0
Explanation: Both values are equal so the XOR is 0.2 <= len(nums) <= 10^50 <= nums[i] < 2^20