1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-07 00:11:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -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.",