Qm

When the square-root rule undercounts by one

A gym assigns each member a locker chosen uniformly at random from 100100 lockers, independently (two members can share).

What is the smallest number of members before two share a locker with probability greater than one half? Watch the approximation carefully here.

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

How many tokens before a duplicate is likely?Buyers before two share a collectible cardHow many keys before an eleven-bit token repeats?Files before a hash table hits its first clashStrangers until one shares your birth-hour of the week
All questions →