Lets say I have a matrix that is a 2 dimensional array of NxM elements and the Robot needs to find all the ways from the top left corner all the way to the bottom right corner. Now the Robot it self has some rules to follow on the way. The Robot can move up, down, left, right in order to get there. However the Robot may not move over the same square more than once.
Now lets say that you have the same size matrix but the Robot can only move down and left.
- ► 2016 ( 13 )
- ▼ 2014 ( 14 )