Qm

How long until the drone lands?

A drone approaches a pad through three states, Far, Mid, and Close, until it is Landed. Each step:

  • From Far: always move to Mid.
  • From Mid: move to Close with probability 0.50.5, or drift back to Far with probability 0.50.5.
  • From Close: Land with probability 0.50.5, or drift back to Mid with probability 0.50.5.

Landing ends the process. The drone starts Far.

On average, how many steps until the drone Lands?

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

How many steps until the puzzle is solved?How long until the vacuum docks?How many days until recovery?How many steps to reach the trail's end?How often is the charging station full?
All questions →