The Messy Pipeline
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
- L4
Interview Prompt
Given a list of mixed items (numbers, numeric strings, nested lists of those, None) and a float multiplier, produce a flat list of floats: extract every numeric value (parse numeric strings), skip None, recurse into lists one level, multiply each extracted number by multiplier. Return the resulting floats in traversal order.
Summary
The upstream API has no idea what a schema is.
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