The Bonus Round
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
We're tallying scores for a dice game from a list of the rolls in order. Every roll adds its own face value, and a back-to-back repeat of the same value earns an extra streak bonus. Return the round's total as an integer.
Summary
Consecutive matching dice rolls trigger a special scoring rule.
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