comefrom: <doocs>1452.People Whose List of Favorite Companies Is Not a Subset of Another List_1.py
code: def peopleIndexes( favoriteCompanies: List[List[str]]) -> List[int]:
      d = {}
      idx = 0
      t = []
      for v in favoriteCompanies:
          for c in v:
              if c not in d:
                  d[c] = idx
                  idx += 1
          t.append({d[c] for c in v})
      ans = []
      for i, nums1 in enumerate(t):
          ok = True
          for j, nums2 in enumerate(t):
              if i == j:
                  continue
              if not (nums1 - nums2):
                  ok = False
                  break
          if ok:
              ans.append(i)
      return ans
masked: def sample_funcname ( var_0 : List [ List [ str ] ] ) -> List [ int ] :
      var_1 = { }
      var_2 = 0
      var_3 = [ ]
      for var_4 in var_0 :
          for var_5 in var_4 :
              if var_5 not in var_1 :
                  var_1 [ var_5 ] = var_2
                  var_2 += 1
          var_3.append ( { var_1 [ var_5 ] for var_5 in var_4 } )
      var_6 = [ ]
      for var_7 , var_8 in enumerate ( var_3 ) :
          var_9 = True
          for var_10 , var_11 in enumerate ( var_3 ) :
              if var_7 == var_10 :
                  continue
              if not ( var_8 - var_11 ) :
                  var_9 = False
                  break
          if var_9 :
              var_6.append ( var_7 )
      return var_6
  