Problem:
String Compression: Implement a method to perform basic string compression using the counts of repeated characters. For example, the string "aabcccccaaa" would become a2b1c5a3. If the "compressed" string would not become smaller than the original string, your method should return the original string. You can assume the string has only uppercase and lowercase letters (a-z).
This video is part of the "Technical Interview Problems" series on various problems that arise in a technical interview setting. The solutions in this series focus on the Python language:
https://goo.gl/nM8M5B
The code used in this video may be found here:
https://github.com/vprusso/youtube_tu...
Website:
http://vprusso.github.io/
Auf dieser Seite können Sie das Online-Video Technical Interview: String Compression mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer LucidProgramming 27 September 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 12,672 Mal angesehen und es wurde von 156 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!