1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 07:21: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,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Hard",
"likes": 298,
"dislikes": 13,
"likes": 314,
"dislikes": 14,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "3\n[1,2,3,4,5]\n[5,2,3,3,3]\n3\n[1,2,3,4]\n[1,2,1,2]\n3\n[1,2,3]\n[10,12,11]",
@@ -155,7 +155,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"7K\", \"totalSubmission\": \"17.2K\", \"totalAcceptedRaw\": 6987, \"totalSubmissionRaw\": 17225, \"acRate\": \"40.6%\"}",
"stats": "{\"totalAccepted\": \"7.6K\", \"totalSubmission\": \"18.5K\", \"totalAcceptedRaw\": 7561, \"totalSubmissionRaw\": 18492, \"acRate\": \"40.9%\"}",
"hints": [
"To speed up the next available server search, keep track of the available servers in a sorted structure such as an ordered set.",
"To determine if a server is available, keep track of the end times for each task in a heap and add the server to the available set once the soonest task ending time is less than or equal to the next task to add."