comefrom: <doocs>0349.Intersection of Two Arrays_1.py
code: def intersection( nums1: List[int], nums2: List[int]) -> List[int]:
      s = set(nums1)
      res = set()
      for num in nums2:
          if num in s:
              res.add(num)
      return list(res)
masked: def sample_funcname ( var_0 : List [ int ] , var_1 : List [ int ] ) -> List [ int ] :
      var_2 = set ( var_0 )
      var_3 = set ( )
      for var_4 in var_1 :
          if var_4 in var_2 :
              var_3.add ( var_4 )
      return list ( var_3 )
  