Loading interview...
The Progress Meter
A medium Python mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Python
- Difficulty
- medium
- Seniority
- junior, mid
Interview Prompt
Given an iterable of length K, write a function that processes each element and prints a progress update every time another 10% of the work is completed. For K=50, it should print at items 5, 10, 15, etc. Return a list of the percentage milestones that were printed, as integers.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your python solution with real code execution
- Get instant feedback and a hire/no-hire decision