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
Parse Nginx combined-format log lines. Return a 2-element list: [status_counts_dict, top_3_paths_list]. status_counts maps each status code (as string) to its count. top_3_paths lists the three most-requested paths (query strings stripped) in descending count; tie-break by path alphabetically. If fewer than 3 distinct paths exist, return all of them.
Summary
Make sense of a pile of raw Nginx access logs.
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