mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
存量题库数据更新
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<p>It is <strong>guaranteed</strong> that there will be a winner of the game.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> arr = [2,1,3,5,4,6,7], k = 2
|
||||
@@ -21,7 +21,7 @@ Round | arr | winner | win_count
|
||||
So we can see that 4 rounds will be played and 5 is the winner because it wins 2 consecutive games.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> arr = [3,2,1], k = 10
|
||||
|
Reference in New Issue
Block a user