1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 15:01:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -11,7 +11,7 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Hard",
"likes": 448,
"likes": 461,
"dislikes": 10,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Maximum Number of Events That Can Be Attended\", \"titleSlug\": \"maximum-number-of-events-that-can-be-attended\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Maximum Earnings From Taxi\", \"titleSlug\": \"maximum-earnings-from-taxi\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Two Best Non-Overlapping Events\", \"titleSlug\": \"two-best-non-overlapping-events\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"13.9K\", \"totalSubmission\": \"25.3K\", \"totalAcceptedRaw\": 13855, \"totalSubmissionRaw\": 25338, \"acRate\": \"54.7%\"}",
"stats": "{\"totalAccepted\": \"14.4K\", \"totalSubmission\": \"26.3K\", \"totalAcceptedRaw\": 14378, \"totalSubmissionRaw\": 26280, \"acRate\": \"54.7%\"}",
"hints": [
"Sort the events by its startTime.",
"For every event, you can either choose it and consider the next event available, or you can ignore it. You can efficiently find the next event that is available using binary search."