We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
compressString('aabcccccaaa') => '2a1b5c3a'
should be a2b1c5a3
a2b1c5a3
Just have to change: cStr += (i - start + 1) + char; to cStr += char + (i - start + 1);
cStr += (i - start + 1) + char;
cStr += char + (i - start + 1);