Derive the Gambler's Ruin Probability
Company: Gsa
Role: Data Scientist
Category: Statistics & Math
Difficulty: hard
Interview Round: Technical Screen
Overview: A gambler starts with `i` coins. Explain the assumptions and derivation clearly, check edge cases, and show how the result changes when those assumptions no longer hold.