mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 15:01:40 +08:00
update
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 1157,
|
||||
"likes": 1161,
|
||||
"dislikes": 47,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"45.7K\", \"totalSubmission\": \"91.4K\", \"totalAcceptedRaw\": 45715, \"totalSubmissionRaw\": 91447, \"acRate\": \"50.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"45.8K\", \"totalSubmission\": \"91.6K\", \"totalAcceptedRaw\": 45829, \"totalSubmissionRaw\": 91637, \"acRate\": \"50.0%\"}",
|
||||
"hints": [
|
||||
"What if we sort the intervals? Considering the sorted intervals, how can we solve the problem with dynamic programming?",
|
||||
"Let's consider a DP(pos, limit) where pos represents the position of the current interval we are gonna take the decision and limit is the current covered area from [0 - limit]. This DP returns the minimum number of taken intervals or infinite if it's not possible to cover the [0 - T] section."
|
||||
|
Reference in New Issue
Block a user