mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
存量题库数据更新
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<p>Return <em>the minimum number of candies you need to have to distribute the candies to the children</em>.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> ratings = [1,0,2]
|
||||
@@ -18,7 +18,7 @@
|
||||
<strong>Explanation:</strong> You can allocate to the first, second and third child with 2, 1, 2 candies respectively.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> ratings = [1,2,2]
|
||||
|
Reference in New Issue
Block a user