Fastest Page View to Click
A hard SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L5
Interview Prompt
We log a stream of product events, each carrying a type such as page_view or button_click. Find the fastest transition from a page view to the button click that comes next, and report that single pair: the user who viewed the page, the page view time, the click time, and the gap between them in seconds.
Summary
How fast from view to click?
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your sql solution with real code execution
- Get instant feedback and a hire/no-hire decision