comefrom: <qiyuangong>387_First_Unique_Character_in_a_String_1.py
code: def firstUniqChar( s):
      count_map = {}
      for c in s:
          count_map[c] = count_map.get(c, 0) + 1
      for i, c in enumerate(s):
          if count_map[c] == 1:
              return i
      return -1
masked: def sample_funcname ( var_0 ) :
      var_1 = { }
      for var_2 in var_0 :
          var_1 [ var_2 ] = var_1.get ( var_2 , 0 ) + 1
      for var_7 , var_2 in enumerate ( var_0 ) :
          if var_1 [ var_2 ] == 1 :
              return var_7
      return - 1
  