Loading interview...
The Trade Log Aggregator
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
- mid, senior
Interview Prompt
The compliance team needs daily trading volume reports broken down by exchange. Given CSV trade log lines (date,process,host,log_message,bytes), extract the exchange name from the process field (the portion before the first underscore) and return two dicts: total bytes per day, and bytes per exchange per day.
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