Available question text
Count all distinct strictly increasing paths in an m×n grid where you may move to 4-directionally adjacent cells.
Exploit that moves only go from smaller to larger values (forming a DAG) to compute path counts efficiently and return the total modulo 10^9+7 (m*n up to 10^5).
Related questions
Continue with questions that share topics or the same question type.
- Add Consecutive-Value Bonuses to Grid Paths
Coding
- Find and Count Maximum-Score Grid Paths
Coding · Dynamic Programming · Grids & Matrices
- Maximum Number of Fish in a Grid
Coding
- Maximum Number of Groups With Increasing Length
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2328. Number of Increasing Paths in a Grid
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source