mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<p>Return <em>the minimum number of boats to carry every given person</em>.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> people = [1,2], limit = 3
|
||||
@@ -11,7 +11,7 @@
|
||||
<strong>Explanation:</strong> 1 boat (1, 2)
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> people = [3,2,2,1], limit = 3
|
||||
@@ -19,7 +19,7 @@
|
||||
<strong>Explanation:</strong> 3 boats (1, 2), (2) and (3)
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> people = [3,5,3,4], limit = 5
|
||||
|
Reference in New Issue
Block a user