Run Length Encoding and Decoding
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 "wwwwaaadexxxxxx", then the function should return "w4a3d1e1x6" Recommended PracticeRun Length EncodingTry It! Follow the steps below to solve this problem: Pic