Calculate the Probability That Two Dice Sum to Seven
Company: Optiver
Role: Software Engineer
Category: Statistics & Math
Difficulty: hard
Interview Round: Technical Screen
Overview: Roll two independent fair six-sided dice. Explain the assumptions and derivation clearly, check edge cases, and show how the result changes when those assumptions no longer hold.