DataDriven
LearnPracticeInterviewDiscussDailyJobs

The Scoreboard Race

A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
medium
Seniority
L3

Problem

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.

Practice This Problem

Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.

Related

  • All Practice Problems
  • Mock Interview Mode
  • Python Interview Questions
  • Data Engineering Interview Prep Guide
  • Daily Challenge
  • Data Engineering Lessons