Number of Increasing Paths in a Grid
Memoize how many strictly increasing paths start at each cell, since each cell is the start of the same paths wherever it is reached.
Memoize how many strictly increasing paths start at each cell, since each cell is the start of the same paths wherever it is reached.