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

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your python solution with real code execution
  4. Get instant feedback and a hire/no-hire decision