Loading interview...

The Month-by-Month Snapshot

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

You are given a list of sales records, each containing an employee identifier, a month name, and a sales amount. Reshape the data so that each employee appears once, with their monthly totals stored under named keys derived from the month itself. An employee who sold in January and March should have keys reflecting those specific months.

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