mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 23:11:41 +08:00
update
This commit is contained in:
@@ -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)."
|
||||
|
Reference in New Issue
Block a user