Finding the one defective unit
Exactly one of 10 units is defective. You test units one at a time in a uniformly random order. You stop as soon as you find the defective one, or as soon as only one untested unit remains (it must then be the defective one, so it needs no test). What is the expected number of tests?
Show hints (2)+
- The defective unit's position in your order is uniform on 1 to 10.
- Which positions cost 9 tests?
Answer
Reveal answer →Final answer
5.4 (± 0.001)
Create a free account to see the full worked solution and track your progress.
Interview format: Numerical Reasoning Tests, Trading Aptitude Tests