How long until the vacuum docks?
A robot vacuum is either Roaming or Near the dock, until it becomes Docked. Each minute:
- From Roaming: stay Roaming with probability , or move Near with probability .
- From Near: drift back to Roaming with probability , or become Docked with probability .
Docked ends the process. The vacuum starts Roaming.
On average, how many minutes until it is Docked?
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
How many steps until the puzzle is solved?How many days until recovery?How many steps to reach the trail's end?How long until the drone lands?How often is the charging station full?
All questions →