Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Surjection Strings by dx2-66
def isometric_strings(a, b):
d = {}
for c1, c2 in zip(a,b):
if c1 not in d:
d[c1] = c2
elif d[c1] != c2:
return False
return True
April 21, 2022
Comments: