You are given an integer array nums.
For each element nums[i], consider an initial string formed by repeating the character 'a' exactly nums[i] times.
You can repeatedly apply the following transformation:
Choose two occurrences of the same character and replace them with the single next character in the English alphabet (for example, replace two 'a' characters with one 'b', two 'b' characters with one 'c', and so on).
Return an array of strings where the nums[i] after applying the transformation as many times as possible.
Constraints:
nums.length
nums[i]
You are given an integer array nums.
For each element nums[i], consider an initial string formed by repeating the character 'a' exactly nums[i] times.
You can repeatedly apply the following transformation:
Choose two occurrences of the same character and replace them with the single next character in the English alphabet (for example, replace two 'a' characters with one 'b', two 'b' characters with one 'c', and so on).
Return an array of strings where the nums[i] after applying the transformation as many times as possible.
Constraints:
nums.length
nums[i]