mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 16:01:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<p>Increment the large integer by one and return <em>the resulting array of digits</em>.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> digits = [1,2,3]
|
||||
@@ -13,7 +13,7 @@ Incrementing by one gives 123 + 1 = 124.
|
||||
Thus, the result should be [1,2,4].
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> digits = [4,3,2,1]
|
||||
@@ -23,7 +23,7 @@ Incrementing by one gives 4321 + 1 = 4322.
|
||||
Thus, the result should be [4,3,2,2].
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> digits = [9]
|
||||
|
Reference in New Issue
Block a user