mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 06:51:41 +08:00
update
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Hard",
|
||||
"likes": 1343,
|
||||
"likes": 1345,
|
||||
"dislikes": 85,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Merge Intervals\", \"titleSlug\": \"merge-intervals\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Interval List Intersections\", \"titleSlug\": \"interval-list-intersections\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
|
||||
@@ -40,7 +40,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"103.5K\", \"totalSubmission\": \"145.8K\", \"totalAcceptedRaw\": 103463, \"totalSubmissionRaw\": 145849, \"acRate\": \"70.9%\"}",
|
||||
"stats": "{\"totalAccepted\": \"103.7K\", \"totalSubmission\": \"146.1K\", \"totalAcceptedRaw\": 103653, \"totalSubmissionRaw\": 146115, \"acRate\": \"70.9%\"}",
|
||||
"hints": [
|
||||
"Take all the intervals and do an \"events\" (or \"line sweep\") approach - an event of (x, OPEN) increases the number of active intervals, while (x, CLOSE) decreases it.\r\n\r\nProcessing in sorted order from left to right, if the number of active intervals is zero, then you crossed a region of common free time."
|
||||
],
|
||||
|
Reference in New Issue
Block a user