Tag: simulation
Concepts
Interview Questions
- Implement a fair shuffle
- Monte Carlo integration of a smooth function
- Estimate e by summing uniforms past 1
- Estimate the probability three uniforms sum below one
- Cut Monte Carlo variance with antithetic pairs
- Estimate pi by Monte Carlo
- Resolve colliding buy and sell sweeps
- Gambler's ruin with a biased coin
- How many packs to complete the sticker album?
- Expected flips to see two heads in a row
- The drunkard near the cliff
- Expected exit time of a random walk
- The look-and-say next term
- The probability integral transform and its inverse