Qm

Rounds until one of two unequal switches trips

Two independent switches are checked each round. Each round, switch one trips with probability 1/41/4 and switch two trips with probability 2/52/5, independently. You wait until at least one has tripped.

On average, how many rounds does that take?

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

Hours until one of two alarms first ringsRounds until at least one of three coins shows headsRounds until at least one of two dice shows a sixDays until one of two limit orders fillsTaking turns to roll the first six
All questions β†’