+ 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 ?
4 Antworten
+ 1
i asked you 😁😁
0
How? By removing characters?
0
You physically and grammarly can't its like to make the word 'cow' 1 character
0
Strings can be compressed with the RLE compression
https://code.sololearn.com/cTzUtVkz2VZs/?ref=app