mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
update
This commit is contained in:
@@ -161,7 +161,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"14.8K\", \"totalSubmission\": \"42.9K\", \"totalAcceptedRaw\": 14840, \"totalSubmissionRaw\": 42854, \"acRate\": \"34.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"14.8K\", \"totalSubmission\": \"42.9K\", \"totalAcceptedRaw\": 14846, \"totalSubmissionRaw\": 42865, \"acRate\": \"34.6%\"}",
|
||||
"hints": [
|
||||
"For each query, you should decrease all elements greater than queries[i] and increase all elements less than queries[i].",
|
||||
"The answer is the sum of absolute differences between queries[i] and every element of the array. How do you calculate that optimally?"
|
||||
|
Reference in New Issue
Block a user