String Compression
String Compression packs consecutive groups in a character array by writing each character once or with its count in place, then returns the compressed length using constant space.
We'll cover the following...
We'll cover the following...
Statement
Given an array of characters, chars, compress it in place according to the following rules: ...