3335. Total Characters in String After Transformations I | Math | Frequency Map | LeetCode | Medium