Loading...
The Code Expander
A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
- Seniority
- junior, mid
Problem
A data compression utility stores strings in run-length encoded format and needs a decoder for downstream processing. Write a function that takes a run-length encoded string like '3a2b4c' and returns the decoded string. Numbers can be multi-digit.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.