Store lottery participants so that adding, removing and picking a uniformly random winner all take constant time.
Store lottery participants so that adding, removing and picking a uniformly random winner all take constant time.
Opens with the full question.