Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
one line solution in Clear category for Surjection Strings by kazuki.h
def isometric_strings(str1: str, str2: str) -> bool:
return str2 == "".join([{str1[i]: str2[i] for i in range(len(str1))}[str1_c] for str1_c in str1])
April 3, 2021
Comments: