The Status Board
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
- L4
Interview Prompt
You're triaging a batch of raw Nginx access logs and want two rollups out of them: how many times each HTTP status code appears, and every distinct resource path that was hit, listed in the order the paths first show up. A path's query string is not part of its identity, so `/api/users?page=1` and `/api/users?page=2` both count as `/api/users`. Ignore any line that isn't a well-formed log entry.
Summary
A pile of raw access logs, and two numbers that matter hiding inside the quotes.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your python solution with real code execution
- Get instant feedback and a hire/no-hire decision