You are given two strings, str1 and str2.
In a single operation, you can select any set of indices in str1 and cyclically increment the character at each chosen index. Incrementing a character cyclically means replacing 'a' with 'b', 'b' with 'c', and so forth, with 'z' wrapping around to become 'a'.
Return true if it is possible to make str2 a subsequence of str1 by applying this operation at most false otherwise.
Note: A subsequence of a string is a new string generated from the original string by deleting zero or more characters without changing the relative order of the remaining characters.
Constraints:
str1.length
str2.length
str1 and str2 consist of only lowercase English letters.
You are given two strings, str1 and str2.
In a single operation, you can select any set of indices in str1 and cyclically increment the character at each chosen index. Incrementing a character cyclically means replacing 'a' with 'b', 'b' with 'c', and so forth, with 'z' wrapping around to become 'a'.
Return true if it is possible to make str2 a subsequence of str1 by applying this operation at most false otherwise.
Note: A subsequence of a string is a new string generated from the original string by deleting zero or more characters without changing the relative order of the remaining characters.
Constraints:
str1.length
str2.length
str1 and str2 consist of only lowercase English letters.