mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-22 05:26:46 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p>给定一个整数数组,找出总和最大的连续数列,并返回总和。</p>\n\n<p><strong>示例:</strong></p>\n\n<pre><strong>输入:</strong> [-2,1,-3,4,-1,2,1,-5,4]\n<strong>输出:</strong> 6\n<strong>解释:</strong> 连续子数组 [4,-1,2,1] 的和最大,为 6。\n</pre>\n\n<p><strong>进阶:</strong></p>\n\n<p>如果你已经实现复杂度为 O(<em>n</em>) 的解法,尝试使用更为精妙的分治法求解。</p>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 109,
|
||||
"likes": 112,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"39.2K\", \"totalSubmission\": \"65.8K\", \"totalAcceptedRaw\": 39239, \"totalSubmissionRaw\": 65844, \"acRate\": \"59.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"40.1K\", \"totalSubmission\": \"67.4K\", \"totalAcceptedRaw\": 40095, \"totalSubmissionRaw\": 67384, \"acRate\": \"59.5%\"}",
|
||||
"hints": [
|
||||
"把数字想象成正负交替的数字序列。注意,我们永远不会只包含一个正序列的一部分或者一个负序列的一部分。",
|
||||
"注意,如果你有一个和是负数的数列,那么其一定不是一个数列的开始或结束(如果它们连接了另外两个数列,那么就可以以一个数列的形式出现)。",
|
||||
|
Reference in New Issue
Block a user