1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 06:51:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 15:21:05 +08:00
parent b84ae535b7
commit e730aa6794
2244 changed files with 8703 additions and 59499 deletions

View File

@@ -11,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 4575,
"dislikes": 289,
"likes": 4579,
"dislikes": 290,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Partition Equal Subset Sum\", \"titleSlug\": \"partition-equal-subset-sum\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Maximum Number of Ways to Partition an Array\", \"titleSlug\": \"maximum-number-of-ways-to-partition-an-array\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
"exampleTestcases": "[4,3,2,3,5,2,1]\n4\n[1,2,3,4]\n3",
@@ -167,7 +167,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"190.2K\", \"totalSubmission\": \"427.3K\", \"totalAcceptedRaw\": 190250, \"totalSubmissionRaw\": 427306, \"acRate\": \"44.5%\"}",
"stats": "{\"totalAccepted\": \"190.6K\", \"totalSubmission\": \"428.4K\", \"totalAcceptedRaw\": 190593, \"totalSubmissionRaw\": 428383, \"acRate\": \"44.5%\"}",
"hints": [
"We can figure out what target each subset must sum to. Then, let's recursively search, where at each call to our function, we choose which of k subsets the next value will join."
],