Maximum XOR for Each Query | Leetcode 1829