Qm

A fresh snack from one of two vending machines

Machine A keeps its snacks fresh 70%70\% of the time; the other 30%30\% are stale. Machine B is worse: only 40%40\% fresh, 60%60\% 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

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. 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 →