1102. Path With Maximum Minimum Value
Given an m x n integer matrix grid, return the maximum score of a path starting at (0, 0) and ending at (m - 1, n - 1) moving in the 4 cardinal directions.
The score of a path is the minimum value in that path.
- For example, the score of the path 8 → 4 → 5 → 9 is 4.
c++
1 | class Solution { |