Two friends picking different lottery numbers
Two friends each independently pick a lottery number from to , all equally likely.
What is the probability that they pick two different numbers?
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
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
Secret Santa self-drawDo these two coworkers share a birthday?Two twenty-sided dice showing the same faceWere you two born in the same month?Do two files hash into the same bucket?
All questions →