Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Surjection Strings by Cyrus490
def isometric_strings(str1: str, str2: str) -> bool:
cipher = {k:v for (k,v) in zip(str1, str2)}
return "".join([cipher[a] for a in str1]) == str2
July 22, 2020