The Expander
A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
- Seniority
- L4
Problem
Given an RLE-encoded string where each run is count followed by char (e.g. '3a2b1c'), return the decoded string. Counts are positive integers; characters are single letters.
Summary
What goes in small comes out big.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.