3337. Total Characters in String After Transformations II
3337. Total Characters in String After Transformations II
Description
You are given a string s
consisting of lowercase English letters, an integer t
representing the number of transformations to perform, and an array nums
of size 26. In one transformation , every character in s
is replaced according to the following rules: