mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 23:11:41 +08:00
update
This commit is contained in:
@@ -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.",
|
||||
|
Reference in New Issue
Block a user