+ 2

how to compress a string ? 📝

hello sololearners, Do you know any method to compress a string text, i means compress a string with 10 caracters to 5 caracters for exemple ?

2nd May 2017, 6:33 PM
Elghozi Nasreddine
Elghozi Nasreddine - avatar
4 Antworten
+ 1
i asked you 😁😁
2nd May 2017, 8:21 PM
Elghozi Nasreddine
Elghozi Nasreddine - avatar
0
How? By removing characters?
2nd May 2017, 7:43 PM
Eldar Bakerman
0
You physically and grammarly can't its like to make the word 'cow' 1 character
3rd May 2017, 5:45 AM
Eldar Bakerman
0
Strings can be compressed with the RLE compression https://code.sololearn.com/cTzUtVkz2VZs/?ref=app
17th Sep 2017, 2:52 PM
Ms Arnold
Ms Arnold - avatar