LeetCode

String Compression

Click here for an explanation.