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\": \"7.2K\", \"totalSubmission\": \"15K\", \"totalAcceptedRaw\": 7172, \"totalSubmissionRaw\": 14957, \"acRate\": \"48.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"7.2K\", \"totalSubmission\": \"15K\", \"totalAcceptedRaw\": 7173, \"totalSubmissionRaw\": 14958, \"acRate\": \"48.0%\"}",
|
||||
"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