1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 23:11:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -161,7 +161,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"2.3K\", \"totalSubmission\": \"8.7K\", \"totalAcceptedRaw\": 2337, \"totalSubmissionRaw\": 8652, \"acRate\": \"27.0%\"}",
"stats": "{\"totalAccepted\": \"2.3K\", \"totalSubmission\": \"8.7K\", \"totalAcceptedRaw\": 2338, \"totalSubmissionRaw\": 8653, \"acRate\": \"27.0%\"}",
"hints": [
"Say we choose k gardens to be complete, is there an optimal way of choosing which gardens to plant more flowers to achieve this?",
"For a given k, we should greedily fill-up the k gardens with the most flowers planted already. This gives us the most remaining flowers to fill up the other gardens.",