algorithms.tutorialhorizon.com
String Compression using count of repeated characters - Run Length Encoding | Algorithms
Compress the given string by using the count of repeated characters and if new compressed string length is not smaller than the original string then return the original string.