comefrom: <awangdev>1153. String Transforms Into Another String_1.java
code: public boolean canConvert(String str1, String str2) {
          if (str1.equals(str2)) return true;
          Map<Character, Character> map = new HashMap<>();
          
          for (int i = 0; i < str1.length(); i++) {
              char a = str1.charAt(i), b = str2.charAt(i);
              map.putIfAbsent(a, b);
              if (map.get(a) != b) return false;
          }
          
          return new HashSet<>(map.values()).size() < 26;
      }
masked: public boolean var_0 ( String var_1 , String var_2 ) {
    if ( var_1 . equals ( var_2 ) ) return true ;
    Map < Character , Character > var_3 = new HashMap < > ( ) ;
    for ( int var_4 = 0 ;
    var_4 < var_1 . length ( ) ;
    var_4 ++ ) {
      char var_5 = var_1 . charAt ( var_4 ) , var_6 = var_2 . charAt ( var_4 ) ;
      var_3 . putIfAbsent ( var_5 , var_6 ) ;
      if ( var_3 . get ( var_5 ) != var_6 ) return false ;
    }
    return new HashSet < > ( var_3 . values ( ) ) . size ( ) < 26 ;
  }
  