mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
update
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 291,
|
||||
"likes": 293,
|
||||
"dislikes": 8,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Partition Array for Maximum Sum\", \"titleSlug\": \"partition-array-for-maximum-sum\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
|
||||
@@ -161,7 +161,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"12.6K\", \"totalSubmission\": \"24.2K\", \"totalAcceptedRaw\": 12568, \"totalSubmissionRaw\": 24207, \"acRate\": \"51.9%\"}",
|
||||
"stats": "{\"totalAccepted\": \"12.6K\", \"totalSubmission\": \"24.2K\", \"totalAcceptedRaw\": 12573, \"totalSubmissionRaw\": 24215, \"acRate\": \"51.9%\"}",
|
||||
"hints": [
|
||||
"To check if number x is a power of 5 or not, we will divide x by 5 while x > 1 and x mod 5 == 0. After iteration if x == 1, then it was a power of 5.",
|
||||
"Since the constraint of s.length is small, we can use recursion to find all the partitions."
|
||||
|
Reference in New Issue
Block a user