Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
str.maketrans solution in Clear category for Surjection Strings by flpo
def isometric_strings(str1: str, str2: str) -> bool:
trans = str.maketrans(str1, str2)
return str1.translate(trans) == str2
Jan. 19, 2019
Comments: