Loading interview...
Intra-Region Latency Diff
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
- senior
Interview Prompt
The infra team tracks node-level latency within regions. For each service node (svc_name), compute the average absolute latency difference between it and every other node in the same region, but only when both nodes have a status of 'healthy' and their uptime values are within 5 percentage points of each other.
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