
Does anyone know how to decompress the RLE algorithm but the input must start with a letter for example "A2B5". The input from my program starts with a number, for example "2B5B".

Does anyone know how to decompress the RLE algorithm but the input must start with a letter for example "A2B5". The input from my program starts with a number, for example "2B5B".
Copyright © 2021 Jogjafile Inc.
Here is an implementation of the algorithm assuming only single letters are to be replicated and multiple digits are to be supported.