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

@@ -167,7 +167,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"12K\", \"totalSubmission\": \"37.1K\", \"totalAcceptedRaw\": 11997, \"totalSubmissionRaw\": 37104, \"acRate\": \"32.3%\"}",
"stats": "{\"totalAccepted\": \"12K\", \"totalSubmission\": \"37.1K\", \"totalAcceptedRaw\": 12003, \"totalSubmissionRaw\": 37111, \"acRate\": \"32.3%\"}",
"hints": [
"We can use dynamic programming to find the answer. Create a 0-indexed dp array where dp[i] represents the maximum number of moves needed to remove the first i + 1 letters from s.",
"What should we do if there is an i where it is impossible to remove the first i + 1 letters?",