mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-24 22:38:57 +08:00
update
This commit is contained in:
@@ -161,7 +161,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"2.5K\", \"totalSubmission\": \"4K\", \"totalAcceptedRaw\": 2505, \"totalSubmissionRaw\": 4001, \"acRate\": \"62.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"2.6K\", \"totalSubmission\": \"4.1K\", \"totalAcceptedRaw\": 2559, \"totalSubmissionRaw\": 4093, \"acRate\": \"62.5%\"}",
|
||||
"hints": [
|
||||
"Let's note that the only thing that matters is how many stones were removed so we can maintain dp[numberOfRemovedStones]",
|
||||
"dp[x] = max(sum of all elements up to y - dp[y]) for all y > x"
|
||||
|
||||
Reference in New Issue
Block a user