Grid routes avoiding a closed intersection
You walk a grid going blocks east and blocks north (only east or north moves). Construction has closed the intersection that is blocks east and blocks north of your start, so no route may pass through it.
How many shortest routes avoid the closed intersection?
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
Shortest routes across a city gridRook routes on a five-by-two block walkCorner-to-corner routes on a square gridGrid routes that pass a coffee shopPicking a committee with exactly two menChoosing three pizza toppings from seven
All questions →