421_max_XOR_two_numbers
dz / leetcode / problems / 421_max_XOR_two_numbersSubgraphs
Node Tree
Nodes
solutions | |
content | Solutions involve bitwise prefixes, either i a hashset or a Trie. The idea is the same: convert all numbers to binary form, and construct maximum XOR bit by by, starting from the leftmost one |
children | codestudy/leetcode/421 |
location | knowledge/leetcode/leetcode.dz:1582 |