mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<p><strong>Note:</strong> The same index will <strong>not</strong> be removed more than once.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> nums = [1,2,5,6,1], removeQueries = [0,3,2,4,1]
|
||||
@@ -20,7 +20,7 @@ Query 4: Remove the 4th element, nums becomes [0,2,0,0,0] and the maximum segmen
|
||||
Query 5: Remove the 1st element, nums becomes [0,0,0,0,0] and the maximum segment sum is 0, since there are no segments.
|
||||
Finally, we return [14,7,2,2,0].</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> nums = [3,2,11,1], removeQueries = [3,2,1,0]
|
||||
|
Reference in New Issue
Block a user