Hours until one of two alarms first rings
Two independent alarms are wired to the same room. Each hour, alarm A rings with probability and alarm B rings with probability , independently of each other and across hours. You wait until you hear at least one of them ring.
On average, how many hours until the first ring from either alarm?
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
Rounds until at least one of three coins shows headsRounds until at least one of two dice shows a sixRounds until one of two unequal switches tripsDays until one of two limit orders fillsTaking turns to roll the first six
All questions →