The spam filter
In a batch of 10,000 emails, 10 are genuine phishing attempts and the filter flags all 10. The filter also flags 90 of the safe emails by mistake. You find an email sitting in the flagged folder.
What is the probability that it is really phishing?
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
Ten thousand screenedThe rare-marker screening testA one-in-a-thousand DNA matchThe airport threat scannerA positive test for a rare disease
All questions →