mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-12 17:05:15 +08:00
update
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
<ul>
|
||||
<li>每个孩子至少分配到 <code>1</code> 个糖果。</li>
|
||||
<li>相邻两个孩子评分更高的孩子会获得更多的糖果。</li>
|
||||
<li>相邻两个孩子中,评分更高的那个会获得更多的糖果。</li>
|
||||
</ul>
|
||||
|
||||
<p>请你给每个孩子分发糖果,计算并返回需要准备的 <strong>最少糖果数目</strong> 。</p>
|
||||
|
Reference in New Issue
Block a user