Given two strings str1 and str2 of equal length, determine whether it is possible to transform str1 into str2 using zero or more conversion operations.
In a single operation, you can choose any character and simultaneously convert every occurrence of that character in str1 to another lowercase English letter.
Return true if str1 can be transformed into str2, or false otherwise.
Constraints:
str1.length str2.length
str1 and str2 contain only lowercase English letters.
Given two strings str1 and str2 of equal length, determine whether it is possible to transform str1 into str2 using zero or more conversion operations.
In a single operation, you can choose any character and simultaneously convert every occurrence of that character in str1 to another lowercase English letter.
Return true if str1 can be transformed into str2, or false otherwise.
Constraints:
str1.length str2.length
str1 and str2 contain only lowercase English letters.