Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
len(set(zip)) solution in Clear category for Surjection Strings by Fermax
def isometric_strings(str1: str, str2: str) -> bool:
# Number of unique characters in str1 == number of unique combinations of str1 + str2 characters
return len(set(str1)) == len(set(zip(str1, str2)))
Jan. 17, 2019
Comments: