The scanner beeped, is the part really defective?
On a production line, of parts are truly defective and are good. An automatic scanner flags of defective parts, but it also mistakenly flags of good parts. A part just triggered the scanner.
What is the probability the part is truly defective?
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
The camera flags a blue jerseyA positive test for a rare diseaseA positive screen with an imperfect testA fraud alert on a card transactionThe forecast says rain, should you believe it?
All questions →