Given two input strings, determine whether the second string can be obtained by replace chars in the first string.

HashMap + HashSet

This approach uses a hash map to map each character’s replacement. 239 more words