Nov 18, 2020
String Compression Problem - Solution in Python
Given an input string, write a function that returns the Run Length Encoded string for the input string.
For example, if the input string is ‘abbaa’, then the function should return ‘ab2a2’.