Loading...

The Expander

A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
easy
Seniority
mid, senior

Problem

Write a function that decodes a run-length encoded string. The input is a string where each run is represented as a count followed by a character, like '3a2b1c'. Return the fully decoded string.

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.