Steps for a bug on a triangle to fall in the hole
A bug sits at corner of a triangle with corners , , . Each step it hops to one of the other two corners, each with probability . Corner has a hole: once the bug reaches it falls in and stops.
Starting at , on average how many hops until the bug falls in the hole?
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 crashesMoves for a robot to dock at the chargerDays 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 →