Against the Current
A hard Python mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Python
- Difficulty
- hard
- Seniority
- L5
Interview Prompt
A nightly CSV export is too large to hold in memory, so it arrives as an iterable that yields one line at a time, header row first. Given a `column_name`, return the sum of that column's numeric values as a float.
Summary
Too big to load. Read what you can.
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