conversionMappings to store the character mappings from str1 to str2.uniqueCharactersInStr2 to store the unique characters in str2.str1.
conversionMappings, add the mapping to conversionMappings and add the corresponding character in str2 to uniqueCharactersInStr2.conversionMappings but maps to a different character than the current character in str2, return false.uniqueCharactersInStr2 contains 26 characters and str1 is not equal to str2, return false. Otherwise, return true.