mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
update
This commit is contained in:
@@ -167,7 +167,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"40.6K\", \"totalSubmission\": \"91.1K\", \"totalAcceptedRaw\": 40569, \"totalSubmissionRaw\": 91066, \"acRate\": \"44.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"40.6K\", \"totalSubmission\": \"91.1K\", \"totalAcceptedRaw\": 40570, \"totalSubmissionRaw\": 91069, \"acRate\": \"44.5%\"}",
|
||||
"hints": [
|
||||
"Use a priority queue to store for each point i, the tuple [yi-xi, xi]",
|
||||
"Loop through the array and pop elements from the heap if the condition xj - xi > k, where j is the current index and i is the point on top the queue.",
|
||||
|
Reference in New Issue
Block a user