mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -161,7 +161,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"18.6K\", \"totalSubmission\": \"28.9K\", \"totalAcceptedRaw\": 18619, \"totalSubmissionRaw\": 28867, \"acRate\": \"64.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"18.6K\", \"totalSubmission\": \"28.9K\", \"totalAcceptedRaw\": 18620, \"totalSubmissionRaw\": 28868, \"acRate\": \"64.5%\"}",
|
||||
"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