Amazon Interview Question
- 0of 0 votes
There is a rectangular grid of size m * n . Bob is in location ( x, y ) inside grid. He can move in 4 directions up, down, right and left. He will die if he steps outside of rectangular grid. Find the probability that bob is alive given initial position of bob as ( x, y ) and number of steps he moves as N.- ninja August 28, 2012 in United States
Edit : Bob moves one step at a time in all 4 directions but he can move N step starting from start state.
| Report Duplicate | Flag | PURGE
Open Chat in New Window