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,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 165,
"dislikes": 176,
"likes": 173,
"dislikes": 179,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "[[10,5,0],[15,2,1],[25,1,1],[30,4,0]]\n[[7,1000000000,1],[15,3,0],[5,999999995,0],[5,1,1]]",
@@ -137,7 +137,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"11.5K\", \"totalSubmission\": \"25.1K\", \"totalAcceptedRaw\": 11477, \"totalSubmissionRaw\": 25100, \"acRate\": \"45.7%\"}",
"stats": "{\"totalAccepted\": \"11.9K\", \"totalSubmission\": \"25.9K\", \"totalAcceptedRaw\": 11899, \"totalSubmissionRaw\": 25899, \"acRate\": \"45.9%\"}",
"hints": [
"Store the backlog buy and sell orders in two heaps, the buy orders in a max heap by price and the sell orders in a min heap by price.",
"Store the orders in batches and update the fields according to new incoming orders. Each batch should only take 1 \"slot\" in the heap."