Qm

Random walk on a grid, do you ever get home?

A walker starts at the origin of an infinite 2D grid. Each step it moves one block north, south, east, or west, each with probability 1/41/4, and it walks forever.

What is the probability the walker eventually returns to its starting point?

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

Back and forth on a line, return guaranteed?Lost in three dimensions, chance of ever returningThe drunk bird, chance of never coming homeHow many times does a line walk revisit zero?Guaranteed to arrive, yet the average wait is infinite
All questions →