I am understanding the following code to find if the strings are isomorphic or not. The code uses two hashes s_dict and t_dict respectively. I am assum
s_dict
t_dict
Thinking about it without maps or dictionaries can help you understand:
def isIso(x,y): if len(x) != len(y): return False for i in range(len(x)): count = 0 if x.count(x[i]) != y.count(y[i]): return False return True