mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -167,7 +167,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"7.9K\", \"totalSubmission\": \"41.4K\", \"totalAcceptedRaw\": 7881, \"totalSubmissionRaw\": 41385, \"acRate\": \"19.0%\"}",
|
||||
"stats": "{\"totalAccepted\": \"7.9K\", \"totalSubmission\": \"41.4K\", \"totalAcceptedRaw\": 7884, \"totalSubmissionRaw\": 41399, \"acRate\": \"19.0%\"}",
|
||||
"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