Count consecutive letters in-place
Filed under Zscaler
The question
Count the number of consecutive letters in a string and append the count to the character without using maps or extra space, performing manipulations directly on the input string using provided trailing space.
No write-up yet. Related questions below have one.
Related Zscaler questions
Collected from public candidate posts and coding forums. Updated Nov 2026.