mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 06:51:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<li>Place a <strong>new stone</strong>, whose value is equal to that sum, on the left side of the row.</li>
|
||||
|
||||
</ol>
|
||||
|
||||
|
||||
|
||||
|
||||
<p>The game stops when <strong>only</strong> <strong>one</strong> stone is left in the row.</p>
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
<p>Given an integer array <code>stones</code> of length <code>n</code> where <code>stones[i]</code> represents the value of the <code>i<sup>th</sup></code> stone <strong>from the left</strong>, return <em>the <strong>score difference</strong> between Alice and Bob if they both play <strong>optimally</strong>.</em></p>
|
||||
|
||||
|
||||
|
||||
|
||||
<p> </p>
|
||||
|
||||
@@ -39,7 +39,7 @@ The difference between their scores is 2 - (-3) = 5.
|
||||
<pre>
|
||||
|
||||
<strong>Input:</strong> stones = [-1,2,-3,4,-5]
|
||||
|
||||
|
||||
<strong>Output:</strong> 5
|
||||
|
||||
<strong>Explanation:</strong>
|
||||
|
Reference in New Issue
Block a user