Moves for a robot to dock at the charger
A robot lives in three zones , , arranged in a line. From zone it always moves to . From zone it moves to or to , each with probability . Zone is the charging dock: once there, the robot stays and stops. It starts in zone .
On average, how many moves until the robot docks at ?
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
Days until a market regime crashesSteps for a bug on a triangle to fall in the holeDays until a storm arrives in a weather chainSteps for a token on a square to hit the trapdoorTaking turns to roll the first six
All questions →