The Scoreboard Race
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
- L3
Interview Prompt
Given num_players, a target score, and a sequential list of dice rolls, simulate round-robin: round 0 player 0, round 0 player 1, ..., then round 1 player 0, etc. Each roll adds to that player's running total. Return the list of final scores per player (same order as player index) after all rolls are consumed.
Summary
Simulate rounds until someone hits the target.
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