Problems Involving Grids - 2

Learn to use medium to difficult grid-based problems with dynamic programming.

Problem statement

The problem in this lesson tries to solve the following type of question:

Finding the number of ways to reach from a starting position to an ending position when traveling in specified directions only.

The problem statement is:

Given a 2-D matrix with M rows and N ...