mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
<p>You must write an algorithm that runs in <code>O(n)</code> time and without using the division operation.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
<pre><strong>Input:</strong> nums = [1,2,3,4]
|
||||
<strong>Output:</strong> [24,12,8,6]
|
||||
</pre><p><strong>Example 2:</strong></p>
|
||||
</pre><p><strong class="example">Example 2:</strong></p>
|
||||
<pre><strong>Input:</strong> nums = [-1,1,0,-3,3]
|
||||
<strong>Output:</strong> [0,0,9,0,0]
|
||||
</pre>
|
||||
@@ -22,4 +22,4 @@
|
||||
</ul>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Follow up:</strong> Can you solve the problem in <code>O(1) </code>extra space complexity? (The output array <strong>does not</strong> count as extra space for space complexity analysis.)</p>
|
||||
<p><strong>Follow up:</strong> Can you solve the problem in <code>O(1)</code> extra space complexity? (The output array <strong>does not</strong> count as extra space for space complexity analysis.)</p>
|
||||
|
Reference in New Issue
Block a user