1153. String Transforms Into Another String
Description
**Input:** str1 = "aabcc", str2 = "ccdee"
**Output:** true
**Explanation:** Convert 'c' to 'e' then 'b' to 'd' then 'a' to 'c'. Note that the order of conversions matter.**Input:** str1 = "leetcode", str2 = "codeleet"
**Output:** false
**Explanation:** There is no way to transform str1 to str2.ac
Last updated