Maximum XOR of Two Numbers in an Array
Medium
Trie
Given an integer array, print the maximum value of nums[i] XOR nums[j] over all pairs (i, j).
Constraints
1 <= n <= 2 * 10^5 0 <= nums[i] < 2^31
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.