Loading...

The Face That Breaks the Bank

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

Domain
Python
Difficulty
medium
Seniority
mid, senior

Problem

You are given a series of dice roll rounds and a threshold value. Each round provides six integers representing the face values rolled. Accumulate running totals per face value across rounds and return the first face value to exceed the threshold along with its cumulative sum.

Practice This Problem

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