The Hours They Stayed

A medium Spark mock interview question on DataDriven, with an AI interviewer who asks follow-up questions and a hire or no-hire decision at the end.

Domain
Spark
Difficulty
medium
Seniority
junior

Interview Prompt

Each play of a catalog item is logged with who watched and how many seconds they watched, and every item has a format. Find the content types with more than 28 unique viewers, reporting each type's total watch time and how many unique viewers it drew.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write and run your Spark code against the tables
  4. Answer the interviewer's follow-up questions, then get a hire or no-hire decision