Who Holds Attention
A hard Spark mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Spark
- Difficulty
- hard
- Seniority
- mid
Interview Prompt
We run a short-video platform where the catalog of videos is small but views pile up fast, and we want to know which creators actually hold attention rather than just publish volume. Pair each view with its video's creator and, for each creator, report the total seconds watched and the number of views, keeping only creators whose videos drew more than 1000 total seconds of watch time. List the most-watched creators 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