← Questions

Weighted random pick with add and remove

0
NuroCodingLast asked Oct 2026

A coding interview question asked in Nuro's technical phone screen, last asked Oct 2026. It tests randomization, prefix sums and binary-search.

Build random selection by weight, then make it dynamic.

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

  • Nuro · Technical phone screen · Last asked Oct 2026

What it tests

randomization · prefix sums · binary-search

Your code and the AI tutor open when you unlock this question.