mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<p>Return <em>the count of all possible routes from </em><code>start</code> <em>to</em> <code>finish</code>. Since the answer may be too large, return it modulo <code>10<sup>9</sup> + 7</code>.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> locations = [2,3,6,8,4], start = 1, finish = 3, fuel = 5
|
||||
@@ -19,7 +19,7 @@
|
||||
1 -> 4 -> 2 -> 3
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> locations = [4,3,1], start = 1, finish = 0, fuel = 6
|
||||
@@ -32,7 +32,7 @@
|
||||
1 -> 0 -> 1 -> 0 -> 1 -> 0, used fuel = 5
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> locations = [5,2,1], start = 0, finish = 2, fuel = 3
|
||||
|
Reference in New Issue
Block a user