Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
dict solution in Clear category for Surjection Strings by MrPod
def isometric_strings(f,s):
d={}
for i,j in zip(f,s):
if i in d and d[i]!=j: return False
d[i]=j
return True
March 10, 2020
Comments: