comefrom: <doocs>0205.Isomorphic Strings_1.py
code: def isIsomorphic( s: str, t: str) -> bool:
      d1, d2 = [0] * 256, [0] * 256
      for i, (a, b) in enumerate(zip(s, t)):
          a, b = ord(a), ord(b)
          if d1[a] != d2[b]:
              return False
          d1[a] = d2[b] = i + 1
      return True
masked: def sample_funcname ( var_0 : str , var_2 : str ) -> bool :
      var_6 , var_7 = [ 0 ] * 256 , [ 0 ] * 256
      for var_9 , ( var_11 , var_12 ) in enumerate ( zip ( var_0 , var_2 ) ) :
          var_11 , var_12 = ord ( var_11 ) , ord ( var_12 )
          if var_6 [ var_11 ] != var_7 [ var_12 ] :
              return False
          var_6 [ var_11 ] = var_7 [ var_12 ] = var_9 + 1
      return True
  