Expected items until the first defective one
A production line turns out items one at a time. Each item is independently defective with probability . An inspector examines them in order and stops at the first defective item.
What is the expected number of items inspected, including the defective one?
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
Expected rolls until the first sixAverage flips to see the first headExpected guesses to hit a secret digitExpected attempts until the first made shotFirst to roll a six in an alternating duel
All questions →