1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 15:31:43 +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

@@ -161,7 +161,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"20.8K\", \"totalSubmission\": \"40.5K\", \"totalAcceptedRaw\": 20783, \"totalSubmissionRaw\": 40539, \"acRate\": \"51.3%\"}",
"stats": "{\"totalAccepted\": \"20.8K\", \"totalSubmission\": \"40.5K\", \"totalAcceptedRaw\": 20786, \"totalSubmissionRaw\": 40542, \"acRate\": \"51.3%\"}",
"hints": [
"By studying the pattern of the operations, we can find out that the problem is equivalent to: Given an integer array with size 3N, select N integers with maximum sum and any selected integers are not next to each other in the array.",
"The first one in the array is considered next to the last one in the array. Use Dynamic Programming to solve it."