1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-06 07:51:41 +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

@@ -179,7 +179,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"932\", \"totalSubmission\": \"3.8K\", \"totalAcceptedRaw\": 932, \"totalSubmissionRaw\": 3799, \"acRate\": \"24.5%\"}",
"stats": "{\"totalAccepted\": \"938\", \"totalSubmission\": \"3.8K\", \"totalAcceptedRaw\": 938, \"totalSubmissionRaw\": 3806, \"acRate\": \"24.6%\"}",
"hints": [
"Let <code>dp[i]</code> be the maximum number of elements in the increasing sequence after processing the first <code>i</code> elements of the original array.",
"We have <code>dp[0] = 0</code>. <code>dp[i + 1] >= dp[i]</code> (since if we have the solution for the first <code>i</code> elements, we can always merge the last one of the first <code>i + 1</code> elements which is <code>nums[i]</code> into the solution of the first <code>i</code> elements.",