Leetcode 3337. Total Characters in String After Transformations II | Hello Interview