mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-07 00:11:41 +08:00
update
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"5.1K\", \"totalSubmission\": \"9.3K\", \"totalAcceptedRaw\": 5102, \"totalSubmissionRaw\": 9279, \"acRate\": \"55.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"5.1K\", \"totalSubmission\": \"9.3K\", \"totalAcceptedRaw\": 5129, \"totalSubmissionRaw\": 9315, \"acRate\": \"55.1%\"}",
|
||||
"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."
|
||||
|
Reference in New Issue
Block a user