filmov
tv
1.6 - Cracking the Coding Interview - String Compression (Python)

Показать описание
Implement a method to perform basic string compression using the counts of repeated characters. If the "compressed" string would not become smaller than the original string, return the original string.