comefrom: <garvit244>1002_1.py
code: def commonChars( A):
      char_map = {}
      for char in A[0]:
          if char in char_map:
              char_map[char] += 1
          else:
              char_map[char] = 1
      
      int_map = {}
      for index in range(1, len(A)):
          for char in char_map.keys():
              if char in A[index]:
                  char_count = min(A[index].count(char), char_map[char])
                  char_map[char] = char_count
              else:
                  del char_map[char]
                  
      result = []
      for key, value in char_map.items():
          result.extend([key]*value)
      
      return result
masked: def sample_funcname ( var_0 ) :
      var_1 = { }
      for var_3 in var_0 [ 0 ] :
          if var_3 in var_1 :
              var_1 [ var_3 ] += 1
          else :
              var_1 [ var_3 ] = 1
      var_5 = { }
      for var_8 in range ( 1 , len ( var_0 ) ) :
          for var_3 in var_1.keys ( ) :
              if var_3 in var_0 [ var_8 ] :
                  var_12 = min ( var_0 [ var_8 ].count ( var_3 ) , var_1 [ var_3 ] )
                  var_1 [ var_3 ] = var_12
              else :
                  del var_1 [ var_3 ]
      var_13 = [ ]
      for var_15 , var_16 in var_1.items ( ) :
          var_13.extend ( [ var_15 ] * var_16 )
      return var_13
  