Implement a function that takes a string as input and returns the run-length encoded version of the string.Run-length encoding is a form of data compression where consecutive characters are replaced by one character and a count.Check out the challenge at https://www.dpcdev.com/ to participate and share your approach.Join the discussion to share your solutions, edge cases, and learnings from the challenge.