The Progress Meter
A medium Python mock interview question on DataDriven, with an AI interviewer who asks follow-up questions and a hire or no-hire decision at the end.
- Domain
- Python
- Difficulty
- medium
- Seniority
- L3
Interview Prompt
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.
Summary
Ten glimpses of a run, no matter how long it ran.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write and run your Python against test cases
- Answer the interviewer's follow-up questions, then get a hire or no-hire decision