Skip to content

Commit 21498cb

Browse files
authored
feat: add solutions to lc problem: No.3807 (#4968)
1 parent cf687dc commit 21498cb

16 files changed

Lines changed: 999 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
- [乘积小于 K 的子数组](/solution/0700-0799/0713.Subarray%20Product%20Less%20Than%20K/README.md) - `双指针`
5353
- [位 1 的个数](/solution/0100-0199/0191.Number%20of%201%20Bits/README.md) - `位运算``lowbit`
5454
- [合并区间](/solution/0000-0099/0056.Merge%20Intervals/README.md) - `区间合并`
55-
<!-- 排序算法、待补充 -->
55+
<!-- 排序算法、待补充 -->
5656

5757
### 2. 数据结构
5858

solution/1200-1299/1266.Minimum Time Visiting All Points/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ tags:
4545
<pre>
4646
<strong>输入:</strong>points = [[1,1],[3,4],[-1,0]]
4747
<strong>输出:</strong>7
48-
<strong>解释:</strong>一条最佳的访问路径是: <strong>[1,1]</strong> -> [2,2] -> [3,3] -> <strong>[3,4] </strong>-> [2,3] -> [1,2] -> [0,1] -> <strong>[-1,0]</strong>
49-
从 [1,1] 到 [3,4] 需要 3 秒
48+
<strong>解释:</strong>一条最佳的访问路径是: <strong>[1,1]</strong> -> [2,2] -> [3,3] -> <strong>[3,4] </strong>-> [2,3] -> [1,2] -> [0,1] -> <strong>[-1,0]</strong>
49+
从 [1,1] 到 [3,4] 需要 3 秒
5050
从 [3,4] 到 [-1,0] 需要 4 秒
5151
一共需要 7 秒</pre>
5252

solution/1200-1299/1266.Minimum Time Visiting All Points/README_EN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ tags:
4444
<pre>
4545
<strong>Input:</strong> points = [[1,1],[3,4],[-1,0]]
4646
<strong>Output:</strong> 7
47-
<strong>Explanation: </strong>One optimal path is <strong>[1,1]</strong> -&gt; [2,2] -&gt; [3,3] -&gt; <strong>[3,4] </strong>-&gt; [2,3] -&gt; [1,2] -&gt; [0,1] -&gt; <strong>[-1,0]</strong>
48-
Time from [1,1] to [3,4] = 3 seconds
47+
<strong>Explanation: </strong>One optimal path is <strong>[1,1]</strong> -&gt; [2,2] -&gt; [3,3] -&gt; <strong>[3,4] </strong>-&gt; [2,3] -&gt; [1,2] -&gt; [0,1] -&gt; <strong>[-1,0]</strong>
48+
Time from [1,1] to [3,4] = 3 seconds
4949
Time from [3,4] to [-1,0] = 4 seconds
5050
Total time = 7 seconds</pre>
5151

0 commit comments

Comments
 (0)