1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 06:51:41 +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,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 1703,
"dislikes": 234,
"likes": 1752,
"dislikes": 240,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Maximum Number of Events That Can Be Attended II\", \"titleSlug\": \"maximum-number-of-events-that-can-be-attended-ii\", \"difficulty\": \"Hard\", \"translatedTitle\": null}, {\"title\": \"Maximum Earnings From Taxi\", \"titleSlug\": \"maximum-earnings-from-taxi\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
"exampleTestcases": "[[1,2],[2,3],[3,4]]\n[[1,2],[2,3],[3,4],[1,2]]",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"52.8K\", \"totalSubmission\": \"158.3K\", \"totalAcceptedRaw\": 52846, \"totalSubmissionRaw\": 158331, \"acRate\": \"33.4%\"}",
"stats": "{\"totalAccepted\": \"54.3K\", \"totalSubmission\": \"162.4K\", \"totalAcceptedRaw\": 54309, \"totalSubmissionRaw\": 162434, \"acRate\": \"33.4%\"}",
"hints": [
"Sort the events by the start time and in case of tie by the end time in ascending order.",
"Loop over the sorted events. Attend as much as you can and keep the last day occupied. When you try to attend new event keep in mind the first day you can attend a new event in."