1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 23:11:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 15:21:05 +08:00
parent b84ae535b7
commit e730aa6794
2244 changed files with 8703 additions and 59499 deletions

View File

@@ -11,7 +11,7 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 309,
"likes": 311,
"dislikes": 34,
"isLiked": null,
"similarQuestions": "[]",
@@ -143,7 +143,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"6.6K\", \"totalSubmission\": \"15.4K\", \"totalAcceptedRaw\": 6560, \"totalSubmissionRaw\": 15442, \"acRate\": \"42.5%\"}",
"stats": "{\"totalAccepted\": \"6.6K\", \"totalSubmission\": \"15.5K\", \"totalAcceptedRaw\": 6569, \"totalSubmissionRaw\": 15464, \"acRate\": \"42.5%\"}",
"hints": [
"Try to use dynamic programming where the current index and remaining number of line segments to form can describe any intermediate state.",
"To make the computation of each state in constant time, we could add another flag to the state that indicates whether or not we are in the middle of placing a line (placed start point but no endpoint)."