You are given two strings s and t of the same length, along with an integer maxCost.
Changing the character s[i] to t[i] costs s[i] t[i]
Return the maximum length of a substring of s that can be transformed to match the corresponding substring of t with a total cost less than or equal to maxCost. If no such substring can be transformed within the given budget, return
Constraints:
s.length
t.length s.length
maxCost
s and t consist of only lowercase English letters.
You are given two strings s and t of the same length, along with an integer maxCost.
Changing the character s[i] to t[i] costs s[i] t[i]
Return the maximum length of a substring of s that can be transformed to match the corresponding substring of t with a total cost less than or equal to maxCost. If no such substring can be transformed within the given budget, return
Constraints:
s.length
t.length s.length
maxCost
s and t consist of only lowercase English letters.