Skip to content

Commit 7a5af2f

Browse files
authored
feat: add weekly contest 470 (#4765)
1 parent b0d13f4 commit 7a5af2f

File tree

41 files changed

+1438
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1438
-9
lines changed

solution/0400-0499/0417.Pacific Atlantic Water Flow/README_EN.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ tags:
3434
<strong>Input:</strong> heights = [[1,2,2,3,5],[3,2,3,4,4],[2,4,5,3,1],[6,7,1,4,5],[5,1,1,2,4]]
3535
<strong>Output:</strong> [[0,4],[1,3],[1,4],[2,2],[3,0],[3,1],[4,0]]
3636
<strong>Explanation:</strong> The following cells can flow to the Pacific and Atlantic oceans, as shown below:
37-
[0,4]: [0,4] -&gt; Pacific Ocean
37+
[0,4]: [0,4] -&gt; Pacific Ocean
3838
&nbsp; [0,4] -&gt; Atlantic Ocean
39-
[1,3]: [1,3] -&gt; [0,3] -&gt; Pacific Ocean
39+
[1,3]: [1,3] -&gt; [0,3] -&gt; Pacific Ocean
4040
&nbsp; [1,3] -&gt; [1,4] -&gt; Atlantic Ocean
41-
[1,4]: [1,4] -&gt; [1,3] -&gt; [0,3] -&gt; Pacific Ocean
41+
[1,4]: [1,4] -&gt; [1,3] -&gt; [0,3] -&gt; Pacific Ocean
4242
&nbsp; [1,4] -&gt; Atlantic Ocean
43-
[2,2]: [2,2] -&gt; [1,2] -&gt; [0,2] -&gt; Pacific Ocean
43+
[2,2]: [2,2] -&gt; [1,2] -&gt; [0,2] -&gt; Pacific Ocean
4444
&nbsp; [2,2] -&gt; [2,3] -&gt; [2,4] -&gt; Atlantic Ocean
45-
[3,0]: [3,0] -&gt; Pacific Ocean
45+
[3,0]: [3,0] -&gt; Pacific Ocean
4646
&nbsp; [3,0] -&gt; [4,0] -&gt; Atlantic Ocean
47-
[3,1]: [3,1] -&gt; [3,0] -&gt; Pacific Ocean
47+
[3,1]: [3,1] -&gt; [3,0] -&gt; Pacific Ocean
4848
&nbsp; [3,1] -&gt; [4,1] -&gt; Atlantic Ocean
49-
[4,0]: [4,0] -&gt; Pacific Ocean
49+
[4,0]: [4,0] -&gt; Pacific Ocean
5050
[4,0] -&gt; Atlantic Ocean
5151
Note that there are other possible paths for these cells to flow to the Pacific and Atlantic oceans.
5252
</pre>

solution/3600-3699/3692.Majority Frequency Characters/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
comments: true
33
difficulty: 简单
44
edit_url: https://github.com/doocs/leetcode/edit/main/solution/3600-3699/3692.Majority%20Frequency%20Characters/README.md
5+
rating: 1384
6+
source: 第 166 场双周赛 Q1
57
---
68

79
<!-- problem:start -->

solution/3600-3699/3692.Majority Frequency Characters/README_EN.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
comments: true
33
difficulty: Easy
44
edit_url: https://github.com/doocs/leetcode/edit/main/solution/3600-3699/3692.Majority%20Frequency%20Characters/README_EN.md
5+
rating: 1384
6+
source: Biweekly Contest 166 Q1
57
---
68

79
<!-- problem:start -->

solution/3600-3699/3693.Climbing Stairs II/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
comments: true
33
difficulty: 中等
44
edit_url: https://github.com/doocs/leetcode/edit/main/solution/3600-3699/3693.Climbing%20Stairs%20II/README.md
5+
rating: 1560
6+
source: 第 166 场双周赛 Q2
57
---
68

79
<!-- problem:start -->

solution/3600-3699/3693.Climbing Stairs II/README_EN.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
comments: true
33
difficulty: Medium
44
edit_url: https://github.com/doocs/leetcode/edit/main/solution/3600-3699/3693.Climbing%20Stairs%20II/README_EN.md
5+
rating: 1560
6+
source: Biweekly Contest 166 Q2
57
---
68

79
<!-- problem:start -->

solution/3600-3699/3694.Distinct Points Reachable After Substring Removal/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
comments: true
33
difficulty: 中等
44
edit_url: https://github.com/doocs/leetcode/edit/main/solution/3600-3699/3694.Distinct%20Points%20Reachable%20After%20Substring%20Removal/README.md
5+
rating: 1739
6+
source: 第 166 场双周赛 Q3
57
---
68

79
<!-- problem:start -->

solution/3600-3699/3694.Distinct Points Reachable After Substring Removal/README_EN.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
comments: true
33
difficulty: Medium
44
edit_url: https://github.com/doocs/leetcode/edit/main/solution/3600-3699/3694.Distinct%20Points%20Reachable%20After%20Substring%20Removal/README_EN.md
5+
rating: 1739
6+
source: Biweekly Contest 166 Q3
57
---
68

79
<!-- problem:start -->

solution/3600-3699/3695.Maximize Alternating Sum Using Swaps/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
comments: true
33
difficulty: 困难
44
edit_url: https://github.com/doocs/leetcode/edit/main/solution/3600-3699/3695.Maximize%20Alternating%20Sum%20Using%20Swaps/README.md
5+
rating: 1984
6+
source: 第 166 场双周赛 Q4
57
---
68

79
<!-- problem:start -->

solution/3600-3699/3695.Maximize Alternating Sum Using Swaps/README_EN.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
comments: true
33
difficulty: Hard
44
edit_url: https://github.com/doocs/leetcode/edit/main/solution/3600-3699/3695.Maximize%20Alternating%20Sum%20Using%20Swaps/README_EN.md
5+
rating: 1984
6+
source: Biweekly Contest 166 Q4
57
---
68

79
<!-- problem:start -->

solution/3600-3699/3697.Compute Decimal Representation/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
comments: true
33
difficulty: 简单
44
edit_url: https://github.com/doocs/leetcode/edit/main/solution/3600-3699/3697.Compute%20Decimal%20Representation/README.md
5+
rating: 1250
6+
source: 第 469 场周赛 Q1
57
---
68

79
<!-- problem:start -->

0 commit comments

Comments
 (0)