Available question text
Given an m x n grid of positive integers, you may start at any cell in the first column and move only to the right-up, right, or right-down cell in the next column if that cell's value is strictly larger; return the maximum number of such moves possible. The core challenge is finding the longest strictly increasing path that advances exactly one column per step (a column-directed DAG / dynamic programming pattern).
Related questions
Continue with questions that share topics or the same question type.
- Maximum Number of Fish in a Grid
Coding
- Maximum Number of Moves to Kill All Pawns
Coding
- Maximum Number of Points From Grid Queries
Coding · Array · Breadth-First Search · Heap (Priority Queue)
- All the Pairs With the Maximum Number of Common Followers
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 2684. Maximum Number of Moves in a Grid
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source