The Progress Meter
A medium Python interview practice problem on DataDriven. Write and execute real python code with instant feedback.
- Domain
- Python
- Difficulty
- medium
- Seniority
- L3
Problem
A long-running batch job logs a cumulative reading after each item it finishes, and we want a fixed ten-point progress summary no matter how many readings a run produced. Given the `readings` in order, return the value standing at each ten-percent mark through the list, from the 10% mark up to the 100% mark.
Summary
Ten glimpses of a run, no matter how long it ran.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and checks it automatically.