Randomness from a biased coin: fair flips, uniform 1 to n, Monte Carlo
I was asked this
No reports yet. Sign in to say where you were asked it.
A coding interview question asked in Anthropic's coding round, last asked Oct 2026. It tests probability, random sampling and concurrency.
Sign in to unlock this question
The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.
Where it's asked
- Anthropic · Coding · Last asked Oct 202655 min · Live coding on a realistic, multi-part problem, a different one from the screen · No AI
What it tests
probability · random sampling · concurrency · debugging
Sign in to unlock this question
The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.
What the labs asked this week
A weekly email of what OpenAI, Anthropic and the other top AI labs asked engineers, round by round.
Sign in to unlock this question
The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.
Sign in to submit your code; every attempt is kept here.
