Computers are good at doing boring repetitive work!
Since computers are really fast and really good at doing simple calculations, we are going to let it do that.
Here is the problem
Pick one (1) of the following "functions" and write the code to actually perform it
Returns a version of the original string as follows: each digit 0-9 that appears in the original string is replaced by that many occurrences of the character to the right of the digit. So the string "a3tx2z" yields "attttxzzz", and "12x" yields "2xxx". A digit not followed by a character (i.e. at the end of the string) is replaced by nothing.
Given a string, returns the length of the largest run in the string. A "run" is a series of zero or more adjacent characters that are the same. So the max run of "xxyyyz" is 3, and the max run of "xyz" is 1.
Things to note