1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-25 23:08:57 +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

@@ -12,7 +12,7 @@
"translatedContent": "<p>给定一个由 <strong>整数 </strong>组成的<strong> 非空</strong> 数组所表示的非负整数,在该数的基础上加一。</p>\n\n<p>最高位数字存放在数组的首位, 数组中每个元素只存储<strong>单个</strong>数字。</p>\n\n<p>你可以假设除了整数 0 之外,这个整数不会以零开头。</p>\n\n<p> </p>\n\n<p><strong>示例 1</strong></p>\n\n<pre>\n<strong>输入:</strong>digits = [1,2,3]\n<strong>输出:</strong>[1,2,4]\n<strong>解释:</strong>输入数组表示数字 123。\n</pre>\n\n<p><strong>示例 2</strong></p>\n\n<pre>\n<strong>输入:</strong>digits = [4,3,2,1]\n<strong>输出:</strong>[4,3,2,2]\n<strong>解释:</strong>输入数组表示数字 4321。\n</pre>\n\n<p><strong>示例 3</strong></p>\n\n<pre>\n<strong>输入:</strong>digits = [0]\n<strong>输出:</strong>[1]\n</pre>\n\n<p> </p>\n\n<p><strong>提示:</strong></p>\n\n<ul>\n\t<li><code>1 <= digits.length <= 100</code></li>\n\t<li><code>0 <= digits[i] <= 9</code></li>\n</ul>\n",
"isPaidOnly": false,
"difficulty": "Easy",
"likes": 965,
"likes": 997,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Multiply Strings\", \"titleSlug\": \"multiply-strings\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u5b57\\u7b26\\u4e32\\u76f8\\u4e58\"}, {\"title\": \"Add Binary\", \"titleSlug\": \"add-binary\", \"difficulty\": \"Easy\", \"translatedTitle\": \"\\u4e8c\\u8fdb\\u5236\\u6c42\\u548c\"}, {\"title\": \"Plus One Linked List\", \"titleSlug\": \"plus-one-linked-list\", \"difficulty\": \"Medium\", \"translatedTitle\": \"\\u7ed9\\u5355\\u94fe\\u8868\\u52a0\\u4e00\"}, {\"title\": \"Add to Array-Form of Integer\", \"titleSlug\": \"add-to-array-form-of-integer\", \"difficulty\": \"Easy\", \"translatedTitle\": \"\\u6570\\u7ec4\\u5f62\\u5f0f\\u7684\\u6574\\u6570\\u52a0\\u6cd5\"}]",
@@ -143,7 +143,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"462.5K\", \"totalSubmission\": \"1M\", \"totalAcceptedRaw\": 462512, \"totalSubmissionRaw\": 1004863, \"acRate\": \"46.0%\"}",
"stats": "{\"totalAccepted\": \"478.1K\", \"totalSubmission\": \"1M\", \"totalAcceptedRaw\": 478080, \"totalSubmissionRaw\": 1040752, \"acRate\": \"45.9%\"}",
"hints": [],
"solution": null,
"status": null,