The previous solution is not correct, for example "aa" and "bb" are not isomorphic, while the result it true.
So I update the code to add extra checking statement. The updated solution can pass the same question at leetcode: https://leetcode.com/problems/isomorphic-strings/
The previous solution is not correct, for example "aa" and "bb" are not isomorphic, while the result it true. So I update the code to add extra checking statement. The updated solution can pass the same question at leetcode: https://leetcode.com/problems/isomorphic-strings/