July 4th Sale
Limited Time Deal: Unlock all premium questions for over 40% off
$10.42$6.25
10
:
09
:
28
:
05
Back to Dashboard
Run Length Decode All
Hard
A signal log is compressed using run-length encoding. In this scheme, a source string of digits is scanned left to right, and each run of identical consecutive digits is described as {count}{digit}. The encoded string is the concatenation of all such descriptions in order.
Given a string encoded that was produced by exactly one round of run-length encoding, return all possible original strings that could have been encoded into it.
...