mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-07 00:11:41 +08:00
update
This commit is contained in:
@@ -167,7 +167,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"2.7K\", \"totalSubmission\": \"12.4K\", \"totalAcceptedRaw\": 2674, \"totalSubmissionRaw\": 12385, \"acRate\": \"21.6%\"}",
|
||||
"stats": "{\"totalAccepted\": \"2.7K\", \"totalSubmission\": \"12.4K\", \"totalAcceptedRaw\": 2676, \"totalSubmissionRaw\": 12389, \"acRate\": \"21.6%\"}",
|
||||
"hints": [
|
||||
"Can we solve this problem using sorting and binary search?\r\nSort the array in increasing order and run a binary search on the number of groups, x.\r\nTo determine if a value x is feasible, greedily distribute the numbers such that each group receives 1, 2, 3, ..., x numbers.",
|
||||
"Sort the array in increasing order and run a binary search on the number of groups, x.",
|
||||
|
Reference in New Issue
Block a user