Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 421. Maximum XOR of Two Numbers in an Array
Given an array of nonnegative integers, find the maximum XOR value of any pair of elements; the core challenge is to exploit bitwise structure (e.g., a binary trie or greedy mask-and-prefix approach) to compute the answer efficiently for up to ~2e5 numbers with 32-bit values.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.