A fresh snack from one of two vending machines
Machine A keeps its snacks fresh of the time; the other are stale. Machine B is worse: only fresh, stale. You pick a machine at random (a fair coin decides) and buy one snack. It turns out to be fresh.
What is the probability you used Machine A?
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
Three boxes of medalsThe two-headed coinThe painted cardsWhich urn did the red ball come from?The two-chip module
All questions →