1102. Path With Maximum Minimum Value
Previous1101. The Earliest Moment When Everyone Become FriendsNext1103. Distribute Candies to People
Last updated
Last updated
https://leetcode.com/problems/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
.
Example 1:
Example 2:
Example 3:
Constraints:
m == grid.length
n == grid[i].length
1 <= m, n <= 100
0 <= grid[i][j] <= 109