-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【每日一题】:LeetCode 329. Longest Increasing Path in a Matrix #5
Comments
必须四面都返回才可以 |
|
第二次刷题 忘记 dp[i][j]=max(max(left,right),max(up,down))+1; +1操作 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given an integer matrix, find the length of the longest increasing path
给定一个整数矩阵,找出最长递增路径的长度。
对于每个单元格,你可以往上,下,左,右四个方向移动。 你不能在对角线方向上移动或移动到边界外(即不允许环绕)。
The text was updated successfully, but these errors were encountered: