Recursionmedium
0:00.0
In a grid, you move from to using only right (R) and down (D) moves. However, at the special cell , you may also move diagonally (DR). Let denote the number of paths. Which recurrence relation correctly models this?
In a grid, you move from to using only right (R) and down (D) moves. However, at the special cell , you may also move diagonally (DR). Let denote the number of paths. Which recurrence relation correctly models this?