Papers We Love is a user on mstdn.io. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Papers We Love @paperswelove
Follow

Darts, Dice, and Coins: Sampling from a Discrete Distribution - Schwarz buff.ly/s5PmtU

"You are given an n-sided die where side i has probability pi of being rolled. What is the most efficient data structure for simulating rolls of the die?"

t.co/oy50ddTjfb

· Web · 1 · 1