The full problem statement is available to Pro members.
preloaded fixtures
import pandas as pd
import numpy as np
search_events = pd.DataFrame({
"query": ["pizza near me", "weather", "pizza near me", "flight to tokyo", "weather", "weather", "python tutorial", "flight to tokyo"],
"device": ["mobile", "desktop", "mobile", "desktop", "mobile", "tablet", "desktop", "mobile"],
"impressions": [10, 8, 12, 5, 9, 7, 6, 4],
"clicks": [3, 1, 5, 2, 4, 0, 2, 1],
})
Guest mode · solve history stays on this device; code isn’t saved. Sign in to save future work
Pro problem
“Click-through rate per query”
This is one of the real interview questions in Pro. Try Pro free for 7 days to unlock it and everything below:
- 293 interview-grade problems across SQL, Python & pandas
- 104+ real-world SQL problems: SaaS retention, fintech ledgers, supply chain, recursive CTEs
- 18 company interview packs (Amazon, Meta, Google, Uber and more)
- AI "explain my mistake" tutor and mock interviews
- Use QueryLab inside Claude, Cursor & other AI assistants
// built for real interview rounds
Practice the patterns 18 top companies test
329 problems · 36 free forever · 293 unlocked with Pro
Card required. Then $12/month. Cancel before your trial ends and you pay nothing.
or keep practicing free problems →Secure checkout by Paddle · instant access · cancel anytime from your account
Pro problem
“Click-through rate per query”
This is one of the real interview questions in Pro. Try Pro free for 7 days to unlock it and everything below:
- 293 interview-grade problems across SQL, Python & pandas
- 104+ real-world SQL problems: SaaS retention, fintech ledgers, supply chain, recursive CTEs
- 18 company interview packs (Amazon, Meta, Google, Uber and more)
- AI "explain my mistake" tutor and mock interviews
- Use QueryLab inside Claude, Cursor & other AI assistants
// built for real interview rounds
Practice the patterns 18 top companies test
329 problems · 36 free forever · 293 unlocked with Pro
Card required. Then $12/month. Cancel before your trial ends and you pay nothing.
or keep practicing free problems →Secure checkout by Paddle · instant access · cancel anytime from your account