Skip to content

Commit a6df486

Browse files
authored
feat: update lc problems (#3149)
1 parent ae5bc33 commit a6df486

File tree

64 files changed

+10197
-10112
lines changed

Some content is hidden

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

64 files changed

+10197
-10112
lines changed

solution/0000-0099/0092.Reverse Linked List II/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ tags:
1616

1717
<!-- description:start -->
1818

19-
给你单链表的头指针 <code>head</code> 和两个整数  <code>left</code> 和 <code>right</code> ,其中  <code>left <= right</code> 。请你反转从位置 <code>left</code> 到位置 <code>right</code> 的链表节点,返回 <strong>反转后的链表</strong> 。
19+
给你单链表的头指针 <code>head</code> 和两个整数 <code>left</code> 和 <code>right</code> ,其中 <code>left <= right</code> 。请你反转从位置 <code>left</code> 到位置 <code>right</code> 的链表节点,返回 <strong>反转后的链表</strong> 。
2020

2121
<p> </p>
2222

solution/0100-0199/0122.Best Time to Buy and Sell Stock II/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,24 @@ tags:
3131
<pre>
3232
<strong>输入:</strong>prices = [7,1,5,3,6,4]
3333
<strong>输出:</strong>7
34-
<strong>解释:</strong>在第 2 天(股票价格 = 1)的时候买入,在第 3 天(股票价格 = 5)的时候卖出, 这笔交易所能获得利润 = 5 - 1 = 4
35-
&nbsp; 随后,在第 4 天(股票价格 = 3)的时候买入,在第 5 天(股票价格 = 6)的时候卖出, 这笔交易所能获得利润 = 6 - 3 = 3
36-
总利润为 4 + 3 = 7 。</pre>
34+
<strong>解释:</strong>在第 2 天(股票价格 = 1)的时候买入,在第 3 天(股票价格 = 5)的时候卖出, 这笔交易所能获得利润 = 5 - 1 = 4。
35+
随后,在第 4 天(股票价格 = 3)的时候买入,在第 5 天(股票价格 = 6)的时候卖出, 这笔交易所能获得利润 = 6 - 3 = 3。
36+
最大总利润为 4 + 3 = 7 。</pre>
3737

3838
<p><strong>示例 2:</strong></p>
3939

4040
<pre>
4141
<strong>输入:</strong>prices = [1,2,3,4,5]
4242
<strong>输出:</strong>4
43-
<strong>解释:</strong>在第 1 天(股票价格 = 1)的时候买入,在第 5 天 (股票价格 = 5)的时候卖出, 这笔交易所能获得利润 = 5 - 1 = 4
44-
&nbsp; 总利润为 4 。</pre>
43+
<strong>解释:</strong>在第 1 天(股票价格 = 1)的时候买入,在第 5 天 (股票价格 = 5)的时候卖出, 这笔交易所能获得利润 = 5 - 1 = 4。
44+
最大总利润为 4 。</pre>
4545

4646
<p><strong>示例&nbsp;3:</strong></p>
4747

4848
<pre>
4949
<strong>输入:</strong>prices = [7,6,4,3,1]
5050
<strong>输出:</strong>0
51-
<strong>解释:</strong>在这种情况下, 交易无法获得正利润,所以不参与交易可以获得最大利润,最大利润为 0 。</pre>
51+
<strong>解释:</strong>在这种情况下, 交易无法获得正利润,所以不参与交易可以获得最大利润,最大利润为 0。</pre>
5252

5353
<p>&nbsp;</p>
5454

solution/0100-0199/0168.Excel Sheet Column Title/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tags:
99

1010
<!-- problem:start -->
1111

12-
# [168. Excel 表列名称](https://leetcode.cn/problems/excel-sheet-column-title)
12+
# [168. Excel表列名称](https://leetcode.cn/problems/excel-sheet-column-title)
1313

1414
[English Version](/solution/0100-0199/0168.Excel%20Sheet%20Column%20Title/README_EN.md)
1515

solution/0100-0199/0177.Nth Highest Salary/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88

99
<!-- problem:start -->
1010

11-
# [177. 第 N 高的薪水](https://leetcode.cn/problems/nth-highest-salary)
11+
# [177. 第N高的薪水](https://leetcode.cn/problems/nth-highest-salary)
1212

1313
[English Version](/solution/0100-0199/0177.Nth%20Highest%20Salary/README_EN.md)
1414

solution/0100-0199/0187.Repeated DNA Sequences/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tags:
1313

1414
<!-- problem:start -->
1515

16-
# [187. 重复的 DNA 序列](https://leetcode.cn/problems/repeated-dna-sequences)
16+
# [187. 重复的DNA序列](https://leetcode.cn/problems/repeated-dna-sequences)
1717

1818
[English Version](/solution/0100-0199/0187.Repeated%20DNA%20Sequences/README_EN.md)
1919

solution/0100-0199/0191.Number of 1 Bits/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tags:
99

1010
<!-- problem:start -->
1111

12-
# [191. 位 1 的个数](https://leetcode.cn/problems/number-of-1-bits)
12+
# [191. 位1的个数](https://leetcode.cn/problems/number-of-1-bits)
1313

1414
[English Version](/solution/0100-0199/0191.Number%20of%201%20Bits/README_EN.md)
1515

solution/0200-0299/0215.Kth Largest Element in an Array/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tags:
1212

1313
<!-- problem:start -->
1414

15-
# [215. 数组中的第 K 个最大元素](https://leetcode.cn/problems/kth-largest-element-in-an-array)
15+
# [215. 数组中的第K个最大元素](https://leetcode.cn/problems/kth-largest-element-in-an-array)
1616

1717
[English Version](/solution/0200-0299/0215.Kth%20Largest%20Element%20in%20an%20Array/README_EN.md)
1818

solution/0200-0299/0230.Kth Smallest Element in a BST/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tags:
1111

1212
<!-- problem:start -->
1313

14-
# [230. 二叉搜索树中第 K 小的元素](https://leetcode.cn/problems/kth-smallest-element-in-a-bst)
14+
# [230. 二叉搜索树中第K小的元素](https://leetcode.cn/problems/kth-smallest-element-in-a-bst)
1515

1616
[English Version](/solution/0200-0299/0230.Kth%20Smallest%20Element%20in%20a%20BST/README_EN.md)
1717

solution/0200-0299/0238.Product of Array Except Self/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ tags:
1717

1818
<!-- description:start -->
1919

20-
<p>给你一个整数数组&nbsp;<code>nums</code>,返回 <em>数组&nbsp;<code>answer</code>&nbsp;,其中&nbsp;<code>answer[i]</code>&nbsp;等于&nbsp;<code>nums</code>&nbsp;中除&nbsp;<code>nums[i]</code>&nbsp;之外其余各元素的乘积</em>&nbsp;。</p>
20+
<p>给你一个整数数组&nbsp;<code>nums</code>,返回 数组&nbsp;<code>answer</code>&nbsp;,其中&nbsp;<code>answer[i]</code>&nbsp;等于&nbsp;<code>nums</code>&nbsp;中除&nbsp;<code>nums[i]</code>&nbsp;之外其余各元素的乘积&nbsp;。</p>
2121

2222
<p>题目数据 <strong>保证</strong> 数组&nbsp;<code>nums</code>之中任意元素的全部前缀元素和后缀的乘积都在&nbsp; <strong>32 位</strong> 整数范围内。</p>
2323

24-
<p>请&nbsp;<strong>不要使用除法,</strong>且在&nbsp;<code>O(<em>n</em>)</code> 时间复杂度内完成此题。</p>
24+
<p>请&nbsp;<strong>不要使用除法,</strong>且在&nbsp;<code>O(n)</code> 时间复杂度内完成此题。</p>
2525

2626
<p>&nbsp;</p>
2727

solution/0200-0299/0249.Group Shifted Strings/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ tags:
2222

2323
<ul>
2424
<li><strong>右移</strong>:将字符串中每个字母都变为其在字母表中 <strong>后续</strong> 的字母,其中用 'a' 替换 'z'。比如,<code>"abc"</code>&nbsp;能够右移为&nbsp;<code>"bcd"</code>,<code>"xyz"</code>&nbsp;能够右移为&nbsp;<code>"yza"</code>。</li>
25-
<li><strong>左移</strong>:将字符串中每个字母都变为其在字母表中 <b>之前</b>&nbsp;的字母,其中用 'z' 替换 'a'。比如,<code>"bcd"</code>&nbsp;能够右移为&nbsp;<code>"abc"</code>,<code>"yza"</code>&nbsp;能够右移为&nbsp;<code>"xyz"</code>。</li>
25+
<li><strong>左移</strong>:将字符串中每个字母都变为其在字母表中 <b>之前</b>&nbsp;的字母,其中用 'z' 替换 'a'。比如,<code>"bcd"</code>&nbsp;能够左移为&nbsp;<code>"abc"</code>,<code>"yza"</code>&nbsp;能够左移为&nbsp;<code>"xyz"</code>。</li>
2626
</ul>
2727

2828
<p>我们可以不断地向两个方向移动字符串,形成 <strong>无限的移位序列</strong>。</p>

solution/0300-0399/0342.Power of Four/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tags:
1010

1111
<!-- problem:start -->
1212

13-
# [342. 4 的幂](https://leetcode.cn/problems/power-of-four)
13+
# [342. 4的幂](https://leetcode.cn/problems/power-of-four)
1414

1515
[English Version](/solution/0300-0399/0342.Power%20of%20Four/README_EN.md)
1616

solution/0300-0399/0382.Linked List Random Node/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ solution.getRandom(); // 返回 3
4646
solution.getRandom(); // 返回 2
4747
solution.getRandom(); // 返回 2
4848
solution.getRandom(); // 返回 3
49-
// getRandom() 方法应随机返回 1、2、3 中的一个,每个元素被返回的概率相等。</pre>
49+
// getRandom() 方法应随机返回 1、2、3中的一个,每个元素被返回的概率相等。</pre>
5050

5151
<p>&nbsp;</p>
5252

solution/0400-0499/0419.Battleships in a Board/README_EN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ tags:
2424

2525
<p>&nbsp;</p>
2626
<p><strong class="example">Example 1:</strong></p>
27-
<img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0400-0499/0419.Battleships%20in%20a%20Board/images/battelship-grid.jpg" style="width: 333px; height: 333px;" />
27+
<img height="333" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0400-0499/0419.Battleships%20in%20a%20Board/images/image.png" width="333" />
2828
<pre>
2929
<strong>Input:</strong> board = [[&quot;X&quot;,&quot;.&quot;,&quot;.&quot;,&quot;X&quot;],[&quot;.&quot;,&quot;.&quot;,&quot;.&quot;,&quot;X&quot;],[&quot;.&quot;,&quot;.&quot;,&quot;.&quot;,&quot;X&quot;]]
3030
<strong>Output:</strong> 2

solution/0400-0499/0440.K-th Smallest in Lexicographical Order/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88

99
<!-- problem:start -->
1010

11-
# [440. 字典序的第 K 小数字](https://leetcode.cn/problems/k-th-smallest-in-lexicographical-order)
11+
# [440. 字典序的第K小数字](https://leetcode.cn/problems/k-th-smallest-in-lexicographical-order)
1212

1313
[English Version](/solution/0400-0499/0440.K-th%20Smallest%20in%20Lexicographical%20Order/README_EN.md)
1414

solution/0400-0499/0468.Validate IP Address/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88

99
<!-- problem:start -->
1010

11-
# [468. 验证 IP 地址](https://leetcode.cn/problems/validate-ip-address)
11+
# [468. 验证IP地址](https://leetcode.cn/problems/validate-ip-address)
1212

1313
[English Version](/solution/0400-0499/0468.Validate%20IP%20Address/README_EN.md)
1414

solution/0400-0499/0487.Max Consecutive Ones II/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tags:
1010

1111
<!-- problem:start -->
1212

13-
# [487. 最大连续 1 的个数 II 🔒](https://leetcode.cn/problems/max-consecutive-ones-ii)
13+
# [487. 最大连续1的个数 II 🔒](https://leetcode.cn/problems/max-consecutive-ones-ii)
1414

1515
[English Version](/solution/0400-0499/0487.Max%20Consecutive%20Ones%20II/README_EN.md)
1616

solution/0500-0599/0562.Longest Line of Consecutive One in Matrix/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tags:
1010

1111
<!-- problem:start -->
1212

13-
# [562. 矩阵中最长的连续 1 线段 🔒](https://leetcode.cn/problems/longest-line-of-consecutive-one-in-matrix)
13+
# [562. 矩阵中最长的连续1线段 🔒](https://leetcode.cn/problems/longest-line-of-consecutive-one-in-matrix)
1414

1515
[English Version](/solution/0500-0599/0562.Longest%20Line%20of%20Consecutive%20One%20in%20Matrix/README_EN.md)
1616

solution/0500-0599/0570.Managers with at Least 5 Direct Reports/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88

99
<!-- problem:start -->
1010

11-
# [570. 至少有 5 名直接下属的经理](https://leetcode.cn/problems/managers-with-at-least-5-direct-reports)
11+
# [570. 至少有5名直接下属的经理](https://leetcode.cn/problems/managers-with-at-least-5-direct-reports)
1212

1313
[English Version](/solution/0500-0599/0570.Managers%20with%20at%20Least%205%20Direct%20Reports/README_EN.md)
1414

solution/0500-0599/0585.Investments in 2016/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88

99
<!-- problem:start -->
1010

11-
# [585. 2016 年的投资](https://leetcode.cn/problems/investments-in-2016)
11+
# [585. 2016年的投资](https://leetcode.cn/problems/investments-in-2016)
1212

1313
[English Version](/solution/0500-0599/0585.Investments%20in%202016/README_EN.md)
1414

solution/0500-0599/0596.Classes More Than 5 Students/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88

99
<!-- problem:start -->
1010

11-
# [596. 超过 5 名学生的课](https://leetcode.cn/problems/classes-more-than-5-students)
11+
# [596. 超过5名学生的课](https://leetcode.cn/problems/classes-more-than-5-students)
1212

1313
[English Version](/solution/0500-0599/0596.Classes%20More%20Than%205%20Students/README_EN.md)
1414

solution/0600-0699/0600.Non-negative Integers without Consecutive Ones/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88

99
<!-- problem:start -->
1010

11-
# [600. 不含连续 1 的非负整数](https://leetcode.cn/problems/non-negative-integers-without-consecutive-ones)
11+
# [600. 不含连续1的非负整数](https://leetcode.cn/problems/non-negative-integers-without-consecutive-ones)
1212

1313
[English Version](/solution/0600-0699/0600.Non-negative%20Integers%20without%20Consecutive%20Ones/README_EN.md)
1414

solution/0600-0699/0668.Kth Smallest Number in Multiplication Table/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tags:
99

1010
<!-- problem:start -->
1111

12-
# [668. 乘法表中第 k 小的数](https://leetcode.cn/problems/kth-smallest-number-in-multiplication-table)
12+
# [668. 乘法表中第k小的数](https://leetcode.cn/problems/kth-smallest-number-in-multiplication-table)
1313

1414
[English Version](/solution/0600-0699/0668.Kth%20Smallest%20Number%20in%20Multiplication%20Table/README_EN.md)
1515

solution/0600-0699/0692.Top K Frequent Words/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ tags:
1414

1515
<!-- problem:start -->
1616

17-
# [692. 前 K 个高频单词](https://leetcode.cn/problems/top-k-frequent-words)
17+
# [692. 前K个高频单词](https://leetcode.cn/problems/top-k-frequent-words)
1818

1919
[English Version](/solution/0600-0699/0692.Top%20K%20Frequent%20Words/README_EN.md)
2020

solution/0600-0699/0698.Partition to K Equal Sum Subsets/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tags:
1313

1414
<!-- problem:start -->
1515

16-
# [698. 划分为 k 个相等的子集](https://leetcode.cn/problems/partition-to-k-equal-sum-subsets)
16+
# [698. 划分为k个相等的子集](https://leetcode.cn/problems/partition-to-k-equal-sum-subsets)
1717

1818
[English Version](/solution/0600-0699/0698.Partition%20to%20K%20Equal%20Sum%20Subsets/README_EN.md)
1919

solution/0700-0799/0712.Minimum ASCII Delete Sum for Two Strings/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tags:
99

1010
<!-- problem:start -->
1111

12-
# [712. 两个字符串的最小 ASCII 删除和](https://leetcode.cn/problems/minimum-ascii-delete-sum-for-two-strings)
12+
# [712. 两个字符串的最小ASCII删除和](https://leetcode.cn/problems/minimum-ascii-delete-sum-for-two-strings)
1313

1414
[English Version](/solution/0700-0799/0712.Minimum%20ASCII%20Delete%20Sum%20for%20Two%20Strings/README_EN.md)
1515

solution/0700-0799/0757.Set Intersection Size At Least Two/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tags:
1010

1111
<!-- problem:start -->
1212

13-
# [757. 设置交集大小至少为 2](https://leetcode.cn/problems/set-intersection-size-at-least-two)
13+
# [757. 设置交集大小至少为2](https://leetcode.cn/problems/set-intersection-size-at-least-two)
1414

1515
[English Version](/solution/0700-0799/0757.Set%20Intersection%20Size%20At%20Least%20Two/README_EN.md)
1616

solution/0700-0799/0776.Split BST/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ tags:
1919

2020
<!-- description:start -->
2121

22-
<p>给你一棵二叉搜索树(BST)的根结点 <code>root</code>&nbsp;和一个整数 <code>target</code> 。请将该树按要求拆分为两个子树:其中一个子树结点的值都必须小于等于给定的目标值;另一个子树结点的值都必须大于目标值;树中并非一定要存在值为&nbsp;<code>target</code>&nbsp;的结点。</p>
22+
<p>给你一棵二叉搜索树(BST)的根结点 <code>root</code>&nbsp;和一个整数 <code>target</code> 。请将该树按要求拆分为两个子树:其中第一个子树结点的值都必须小于等于给定的目标值;另一个子树结点的值都必须大于目标值;树中并非一定要存在值为&nbsp;<code>target</code>&nbsp;的结点。</p>
2323

2424
<p>除此之外,树中大部分结构都需要保留,也就是说原始树中父节点 <code>p</code> 的任意子节点 <code>c</code> ,假如拆分后它们仍在同一个子树中,那么结点 <code>p</code>&nbsp;应仍为 <code>c</code>&nbsp;的父结点。</p>
2525

26-
<p>返回 <em>两个子树的根结点的数组</em> 。</p>
26+
<p>按顺序返回 <em>两个子树的根结点的数组</em> 。</p>
2727

2828
<p>&nbsp;</p>
2929

solution/0700-0799/0777.Swap Adjacent in LR String/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tags:
99

1010
<!-- problem:start -->
1111

12-
# [777. 在 LR 字符串中交换相邻字符](https://leetcode.cn/problems/swap-adjacent-in-lr-string)
12+
# [777. 在LR字符串中交换相邻字符](https://leetcode.cn/problems/swap-adjacent-in-lr-string)
1313

1414
[English Version](/solution/0700-0799/0777.Swap%20Adjacent%20in%20LR%20String/README_EN.md)
1515

solution/0700-0799/0779.K-th Symbol in Grammar/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tags:
1010

1111
<!-- problem:start -->
1212

13-
# [779. 第 K 个语法符号](https://leetcode.cn/problems/k-th-symbol-in-grammar)
13+
# [779. 第K个语法符号](https://leetcode.cn/problems/k-th-symbol-in-grammar)
1414

1515
[English Version](/solution/0700-0799/0779.K-th%20Symbol%20in%20Grammar/README_EN.md)
1616

solution/0700-0799/0785.Is Graph Bipartite/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ tags:
1919

2020
<!-- description:start -->
2121

22-
存在一个 <strong>无向图</strong> ,图中有 <code>n</code> 个节点。其中每个节点都有一个介于 <code>0</code> 到 <code>n - 1</code> 之间的唯一编号。给你一个二维数组 <code>graph</code> ,其中 <code>graph[u]</code> 是一个节点数组,由节点 <code>u</code> 的邻接节点组成。形式上,对于  <code>graph[u]</code> 中的每个 <code>v</code> ,都存在一条位于节点 <code>u</code> 和节点 <code>v</code> 之间的无向边。该无向图同时具有以下属性:
22+
存在一个 <strong>无向图</strong> ,图中有 <code>n</code> 个节点。其中每个节点都有一个介于 <code>0</code> 到 <code>n - 1</code> 之间的唯一编号。给你一个二维数组 <code>graph</code> ,其中 <code>graph[u]</code> 是一个节点数组,由节点 <code>u</code> 的邻接节点组成。形式上,对于 <code>graph[u]</code> 中的每个 <code>v</code> ,都存在一条位于节点 <code>u</code> 和节点 <code>v</code> 之间的无向边。该无向图同时具有以下属性:
2323

2424
<ul>
2525
<li>不存在自环(<code>graph[u]</code> 不包含 <code>u</code>)。</li>

solution/1000-1099/1004.Max Consecutive Ones III/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tags:
1313

1414
<!-- problem:start -->
1515

16-
# [1004. 最大连续 1 的个数 III](https://leetcode.cn/problems/max-consecutive-ones-iii)
16+
# [1004. 最大连续1的个数 III](https://leetcode.cn/problems/max-consecutive-ones-iii)
1717

1818
[English Version](/solution/1000-1099/1004.Max%20Consecutive%20Ones%20III/README_EN.md)
1919

solution/1000-1099/1076.Project Employees II/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88

99
<!-- problem:start -->
1010

11-
# [1076. 项目员工 II 🔒](https://leetcode.cn/problems/project-employees-ii)
11+
# [1076. 项目员工II 🔒](https://leetcode.cn/problems/project-employees-ii)
1212

1313
[English Version](/solution/1000-1099/1076.Project%20Employees%20II/README_EN.md)
1414

solution/1000-1099/1084.Sales Analysis III/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88

99
<!-- problem:start -->
1010

11-
# [1084. 销售分析 III](https://leetcode.cn/problems/sales-analysis-iii)
11+
# [1084. 销售分析III](https://leetcode.cn/problems/sales-analysis-iii)
1212

1313
[English Version](/solution/1000-1099/1084.Sales%20Analysis%20III/README_EN.md)
1414

solution/1100-1199/1141.User Activity for the Past 30 Days I/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88

99
<!-- problem:start -->
1010

11-
# [1141. 查询近 30 天活跃用户数](https://leetcode.cn/problems/user-activity-for-the-past-30-days-i)
11+
# [1141. 查询近30天活跃用户数](https://leetcode.cn/problems/user-activity-for-the-past-30-days-i)
1212

1313
[English Version](/solution/1100-1199/1141.User%20Activity%20for%20the%20Past%2030%20Days%20I/README_EN.md)
1414

solution/1100-1199/1142.User Activity for the Past 30 Days II/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88

99
<!-- problem:start -->
1010

11-
# [1142. 过去 30 天的用户活动 II 🔒](https://leetcode.cn/problems/user-activity-for-the-past-30-days-ii)
11+
# [1142. 过去30天的用户活动 II 🔒](https://leetcode.cn/problems/user-activity-for-the-past-30-days-ii)
1212

1313
[English Version](/solution/1100-1199/1142.User%20Activity%20for%20the%20Past%2030%20Days%20II/README_EN.md)
1414

solution/1200-1299/1287.Element Appearing More Than 25% In Sorted Array/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tags:
1010

1111
<!-- problem:start -->
1212

13-
# [1287. 有序数组中出现次数超过 25%的元素](https://leetcode.cn/problems/element-appearing-more-than-25-in-sorted-array)
13+
# [1287. 有序数组中出现次数超过25%的元素](https://leetcode.cn/problems/element-appearing-more-than-25-in-sorted-array)
1414

1515
[English Version](/solution/1200-1299/1287.Element%20Appearing%20More%20Than%2025%25%20In%20Sorted%20Array/README_EN.md)
1616

solution/1300-1399/1378.Replace Employee ID With The Unique Identifier/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88

99
<!-- problem:start -->
1010

11-
# [1378. 使用唯一标识码替换员工 ID](https://leetcode.cn/problems/replace-employee-id-with-the-unique-identifier)
11+
# [1378. 使用唯一标识码替换员工ID](https://leetcode.cn/problems/replace-employee-id-with-the-unique-identifier)
1212

1313
[English Version](/solution/1300-1399/1378.Replace%20Employee%20ID%20With%20The%20Unique%20Identifier/README_EN.md)
1414

solution/1600-1699/1613.Find the Missing IDs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88

99
<!-- problem:start -->
1010

11-
# [1613. 找到遗失的 ID 🔒](https://leetcode.cn/problems/find-the-missing-ids)
11+
# [1613. 找到遗失的ID 🔒](https://leetcode.cn/problems/find-the-missing-ids)
1212

1313
[English Version](/solution/1600-1699/1613.Find%20the%20Missing%20IDs/README_EN.md)
1414

solution/1700-1799/1797.Design Authentication Manager/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ authenticationManager.<code>renew</code>("aaa", 1); // 时刻 1 时,没有验
4949
authenticationManager.generate("aaa", 2); // 时刻 2 时,生成一个 tokenId 为 "aaa" 的新验证码。
5050
authenticationManager.<code>countUnexpiredTokens</code>(6); // 时刻 6 时,只有 tokenId 为 "aaa" 的验证码未过期,所以返回 1 。
5151
authenticationManager.generate("bbb", 7); // 时刻 7 时,生成一个 tokenId 为 "bbb" 的新验证码。
52-
authenticationManager.<code>renew</code>("aaa", 8); // tokenId 为 "aaa" 的验证码在时刻 7 过期,且 8 >= 7 ,所以时刻 8 的 renew 操作被忽略,没有验证码被更新。
52+
authenticationManager.<code>renew</code>("aaa", 8); // tokenId 为 "aaa" 的验证码在时刻 7 过期,且 8 >= 7 ,所以时刻 8 的renew 操作被忽略,没有验证码被更新。
5353
authenticationManager.<code>renew</code>("bbb", 10); // tokenId 为 "bbb" 的验证码在时刻 10 没有过期,所以 renew 操作会执行,该 token 将在时刻 15 过期。
5454
authenticationManager.<code>countUnexpiredTokens</code>(15); // tokenId 为 "bbb" 的验证码在时刻 15 过期,tokenId 为 "aaa" 的验证码在时刻 7 过期,所有验证码均已过期,所以返回 0 。
5555

solution/1800-1899/1890.The Latest Login in 2020/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88

99
<!-- problem:start -->
1010

11-
# [1890. 2020 年最后一次登录](https://leetcode.cn/problems/the-latest-login-in-2020)
11+
# [1890. 2020年最后一次登录](https://leetcode.cn/problems/the-latest-login-in-2020)
1212

1313
[English Version](/solution/1800-1899/1890.The%20Latest%20Login%20in%202020/README_EN.md)
1414

0 commit comments

Comments
 (0)