String Transforms Into Another String
Hard📝 Description
Determine if str1 can be transformed into str2 with character mappings
Input Format
Strings str1 and str2
Output Format
true/false
Constraints
1 ≤ str1.length, str2.length ≤ 10^5
🔍 Sample Input
"aabcc"
"ccdee"
✅ Sample Output
true
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run