1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-24 22:38:57 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -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"