Spring Hire Sale
Limited Time Deal: Unlock all premium questions for over 30% off
$10.42$7.08
08
:
04
:
49
:
38
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.
...