The Question
CodingString Transformation via Character Mapping
Given two strings
str1 and str2 of the same length, determine if str1 can be transformed into str2 through a sequence of conversions. In a single conversion, you select one character occurring in str1 and replace all its occurrences with any other lowercase English letter. Return true if such a transformation is possible, otherwise return false. Note: A character can be transformed multiple times, but each step must convert all existing instances of the chosen character.Java
HashMap
String Manipulation