You are given a string s, an integer t representing the number of transformations to apply, and an integer array nums of length
In a single transformation, each character c in the string is replaced simultaneously with the next nums[c - 'a'] consecutive lowercase English letters in cyclical alphabetical order (where 'a' immediately follows 'z'). For example, if nums[25] equals 'z' is replaced by the characters 'a' and 'b'.
Return the total length of the string after performing the transformation exactly t times. Since the result may be very large, return it modulo
Constraints:
s.length
s consists only of lowercase English letters.
t
nums.length
nums[i]
You are given a string s, an integer t representing the number of transformations to apply, and an integer array nums of length
In a single transformation, each character c in the string is replaced simultaneously with the next nums[c - 'a'] consecutive lowercase English letters in cyclical alphabetical order (where 'a' immediately follows 'z'). For example, if nums[25] equals 'z' is replaced by the characters 'a' and 'b'.
Return the total length of the string after performing the transformation exactly t times. Since the result may be very large, return it modulo
Constraints:
s.length
s consists only of lowercase English letters.
t
nums.length
nums[i]