1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 23:41:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -155,7 +155,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"841.8K\", \"totalSubmission\": \"2M\", \"totalAcceptedRaw\": 841807, \"totalSubmissionRaw\": 2046877, \"acRate\": \"41.1%\"}",
"stats": "{\"totalAccepted\": \"841.9K\", \"totalSubmission\": \"2M\", \"totalAcceptedRaw\": 841890, \"totalSubmissionRaw\": 2047103, \"acRate\": \"41.1%\"}",
"hints": [
"Use dynamic programming since, from each cell, you can move to the right or down.",
"assume dp[i][j] is the number of unique paths to reach (i, j). dp[i][j] = dp[i][j -1] + dp[i - 1][j]. Be careful when you encounter an obstacle. set its value in dp to 0."