1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 23:41: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\": \"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.",