Python3 Solution | Bit Maniputlation
\nclass Solution:\n    def findMaximumXOR(self, nums):\n        cmax = 0\n        for i in range(31, -1, -1):\n            tmp = cmax | (1 << i)\n            S 
```\nclass Solution:\n    def findMaximumXOR(self, nums):\n        cmax = 0\n        for i in range(31, -1, -1):\n            tmp = cmax | (1 << i)\n            S = set(tmp & j for j in nums)\n            if any(j ^ tmp in S for j in S): \n                cmax = tmp\n        return cmax\n```
['Bit Manipulation', 'Python']