Available question text
Given an m x n matrix, find the maximum number of cells you can visit by starting at any cell and repeatedly jumping to any other cell in the same row or column whose value is strictly greater than the current cell. Note m * n ≤ 10^5, so the solution requires an algorithmic approach faster than brute-force (e.g., sorting/DP/topological processing by values).
Related questions
Continue with questions that share topics or the same question type.
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 2713. Maximum Strictly Increasing Cells in a Matrix
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source