LeetCode 421. Maximum XOR of Two Numbers in an Array in F#
Problem URL
https://leetcode.com/problems/maximum-xor-of-two-numbers-in-an-array/
Code
https://github.com/syohex/dotnet-study/blob/master/fsharp/leetcode/problems/0421/main.fsx
type Trie =
| Leaf
| TrieNode of (Trie * Trie)
let toBits (bits:...
syohex.hashnode.dev2 min read