The Ones Who Hold Attention
A medium Spark mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Spark
- Difficulty
- medium
- Seniority
- mid
Interview Prompt
A video streaming platform wants to know which creators truly hold an audience, measured by how much of each item viewers actually get through rather than by raw view counts. For each creator, report the number of views drawn and the average share of an item that its viewers complete rounded to four decimal places, looking only at content whose length is recorded, with the creators who hold the most attention listed first.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your spark solution with real code execution
- Get instant feedback and a hire/no-hire decision