The problem can be solved using 2 hash maps.Iterate over the strings and map the characters to an index in both hash maps.If the entries at the same index in both hash maps are not equal, return false.If the loop completes without returning false, then the strings are isomorphic.