Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Hmmm... not easy solution in Clear category for Surjection Strings by pakicetus
def isometric_strings(str1: str, str2: str) -> bool:
dic = {}
for i in range(0, len(str1)):
if str1[i] in dic and str2[i] != dic[str1[i]]: return False
dic[str1[i]] = str2[i]
return True
July 29, 2020
Comments: