Loading interview...
The Gap Filler
A easy Python mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Python
- Difficulty
- easy
- Seniority
- mid
Interview Prompt
Our time-series pipeline has gaps where sensors report None. Write a function called forward_fill that takes a list with None values and carries the most recent non-None value forward. If None appears before any real value, it stays None - the downstream model needs to know there's no history.
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