mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<p>Return<em> the <strong>minimum</strong> number of minutes needed to pick up all the garbage.</em></p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> garbage = ["G","P","GP","GG"], travel = [2,4,3]
|
||||
@@ -33,7 +33,7 @@ Since there is no metal garbage, we do not need to consider the metal garbage tr
|
||||
Therefore, it takes a total of 8 + 13 = 21 minutes to collect all the garbage.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> garbage = ["MMM","PGM","GP"], travel = [3,10]
|
||||
|
Reference in New Issue
Block a user