Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Surjection Strings by lechrudik
def isometric_strings(a, b):
d = {i: b[c] for c, i in enumerate(a)}
return ''.join([d[i] for i in a]) == b
May 8, 2022
Comments: