@@ -0,0 +1,719 @@
+package leetcode;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0A/**%0A * https://leetcode.com/problems/isomorphic-strings/%0A */%0Apublic class Problem205 %7B%0A    public boolean isIsomorphic(String s, String t) %7B%0A        return transform(s).equals(transform(t));%0A    %7D%0A    %0A    private String transform(String s) %7B%0A        StringBuilder str = new StringBuilder();%0A        Map%3CCharacter, Integer%3E map = new HashMap%3C%3E();%0A        int counter = 0;%0A        for (char c : s.toCharArray()) %7B%0A            if (map.containsKey(c)) %7B%0A                str.append(map.get(c));%0A            %7D else %7B%0A                str.append(++counter);%0A                map.put(c, counter);%0A            %7D%0A        %7D%0A        return str.toString();%0A    %7D%0A%7D%0A

Solve problem 205