DataDrivenDataDriven
LearnPracticeInterviewDiscussDailyJobs

Out of Nowhere

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

Domain
Python
Difficulty
hard
Seniority
L6

Interview Prompt

A monitoring service emits readings as `(timestamp, value)` pairs in time order, and on-call wants the readings that jump away from their recent baseline. A reading is anomalous when it sits more than `threshold` population standard deviations from the mean of the `window` readings immediately before it, the current reading excluded. Skip the opening readings that lack a full `window` of history, and skip any reading whose prior window is perfectly flat.

Summary

Every stream has a rhythm. Find the readings that break it.

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 python solution with real code execution
  4. Get instant feedback and a hire/no-hire decision

Related

  • All Mock Interviews
  • Practice Mode (untimed)
  • Python Interview Questions
  • Data Engineering Interview Prep Guide
  • Practice Problems
  • Daily Challenge