Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
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.
...
Asked at:Pinterest
More Pinterest interview questions
- Timed Job Queuemedium
- Unordered Nested Equalitymedium
- Warehouse Drone Dispatchmedium
- Warehouse Item Countermedium
- Request Anomaly Linkermedium
- Compressed Grid Operationshard
- Coworking Desk Availabilitymedium
- Degrees of Separationmedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.