+ 1

Input=aaabbccca output=a4b2c3

how get this results using C,cpp or java

13th Oct 2018, 6:14 AM
Abhishek Kola
Abhishek Kola - avatar
4 Answers
13th Oct 2018, 9:03 AM
blACk sh4d0w
blACk sh4d0w - avatar
+ 4
Remember to... search around the app. We have an entire section dedicated to this assignment. Check the submissions. https://www.sololearn.com/learn/4615/?ref=app
13th Oct 2018, 6:18 AM
Hatsy Rei
Hatsy Rei - avatar
+ 3
This one is actually a bit different from the string compression codes because all it does is count the letters. The original string can't be retrieved from the compressed string. In python I would do something like this: https://code.sololearn.com/caa1godqjsjT/?ref=app
13th Oct 2018, 9:06 AM
Anna
Anna - avatar
+ 3
A Python Code, but very close to c++ Syntax: https://code.sololearn.com/c0YnUxwreWur/?ref=app
13th Oct 2018, 10:45 AM
Sebastian Keßler
Sebastian Keßler - avatar