mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -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?",
|
||||
|
Reference in New Issue
Block a user