Loading interview...

Smooth Latency

A medium SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.

Domain
SQL
Difficulty
medium

Interview Prompt

The SRE team wants to spot latency trends per endpoint over time. For every row in api_calls with a non-NULL latency, compute a running average of latency within that endpoint ordered by call_time, covering every call at or before this one. Return the endpoint, latency, and running average.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your sql solution with real code execution
  4. Get instant feedback and a hire/no-hire decision