Loading interview...

Stock Range Finder

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

Domain
Python
Difficulty
medium
Seniority
junior, mid, senior

Interview Prompt

The quant team needs to analyze daily price volatility for a specific stock ticker. Given CSV stock data (Date,Ticker,Open,High,Low,Close,Volume), filter for a given ticker and return a dict with three keys: 'max_range_date' (the date with the largest High minus Low), 'max_range' (that value as a float), and 'avg_volume' (average volume as a float). Return an empty dict if the ticker is not found.

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