LinkedInCoding·55 minMembers
Biased Coin to Uniform Range
Members only
Given a biased Bernoulli (returns 0 with probability `p`, 1 with probability `1-p`), construct a uniform sampler over `[0, 6]`. The canonical recipe: combine two biased draws to get a fair coin (Von N...
SWE
MLE
probability
sampling
math-reasoning
medium
Frequency
Low
Last asked
2026-09-11
Stage
phone-screen · onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
