comefrom: <doocs>0421.Maximum XOR of Two Numbers in an Array_1.py
code: def findMaximumXOR( nums: List[int]) -> int:
      max = 0
      mask = 0
      for i in range(30, -1, -1):
          current = 1 << i
          mask = mask ^ current
          s = set()
          for num in nums:
              s.add(num & mask)
          flag = max | current
          for prefix in s:
              if prefix ^ flag in s:
                  max = flag
                  break
      return max
masked: def sample_funcname ( var_0 : List [ int ] ) -> int :
      var_1 = 0
      var_2 = 0
      for var_3 in range ( 30 , - 1 , - 1 ) :
          var_4 = 1 << var_3
          var_2 = var_2 ^ var_4
          var_5 = set ( )
          for var_6 in var_0 :
              var_5.add ( var_6 & var_2 )
          var_7 = var_1 | var_4
          for var_8 in var_5 :
              if var_8 ^ var_7 in var_5 :
                  var_1 = var_7
                  break
      return var_1
  