Find the Color Probability After Discarding Cards
Company: Optiver
Role: Software Engineer
Category: Statistics & Math
Difficulty: hard
Interview Round: Technical Screen
Overview: A standard 52-card deck has 26 red and 26 black cards and is uniformly shuffled. Explain the assumptions and derivation clearly, check edge cases, and show how the result changes when those assumptions no longer hold.