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

@@ -11,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Hard",
"likes": 276,
"dislikes": 270,
"likes": 289,
"dislikes": 273,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Minimum Number of Operations to Make Array Continuous\", \"titleSlug\": \"minimum-number-of-operations-to-make-array-continuous\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
"exampleTestcases": "3\n6",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"9.8K\", \"totalSubmission\": \"15.8K\", \"totalAcceptedRaw\": 9805, \"totalSubmissionRaw\": 15760, \"acRate\": \"62.2%\"}",
"stats": "{\"totalAccepted\": \"10K\", \"totalSubmission\": \"16.1K\", \"totalAcceptedRaw\": 10039, \"totalSubmissionRaw\": 16108, \"acRate\": \"62.3%\"}",
"hints": [
"The fastest way to convert n to zero is to remove all set bits starting from the leftmost one. Try some simple examples to learn the rule of how many steps are needed to remove one set bit.",
"consider n=2^k case first, then solve for all n."