Maximum Strong Pair XOR II
Sort the numbers and slide a window that keeps only values within twice the newest one, while a counted trie answers the best xor partner.
Sort the numbers and slide a window that keeps only values within twice the newest one, while a counted trie answers the best xor partner.