Maximum XOR of Two Numbers
Medium
Trie (Advanced)
Print the maximum value of nums[i] XOR nums[j] over all pairs.
Constraints
2 <= 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.