Skip to content

Commit a2d9d8d

Browse files
authored
chore: update lc problems (#1455)
1 parent dc4c153 commit a2d9d8d

File tree

162 files changed

+1196
-1010
lines changed

Some content is hidden

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

162 files changed

+1196
-1010
lines changed

solution/0000-0099/0055.Jump Game/README.md

+8-10
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,35 @@
66

77
<!-- 这里写题目描述 -->
88

9-
<p>给定一个非负整数数组 <code>nums</code> ,你最初位于数组的 <strong>第一个下标</strong> 。</p>
9+
<p>给你一个非负整数数组&nbsp;<code>nums</code> ,你最初位于数组的 <strong>第一个下标</strong> 。数组中的每个元素代表你在该位置可以跳跃的最大长度。</p>
1010

11-
<p>数组中的每个元素代表你在该位置可以跳跃的最大长度。</p>
11+
<p>判断你是否能够到达最后一个下标,如果可以,返回 <code>true</code> ;否则,返回 <code>false</code> 。</p>
1212

13-
<p>判断你是否能够到达最后一个下标。</p>
13+
<p>&nbsp;</p>
1414

15-
<p> </p>
16-
17-
<p><strong>示例 1:</strong></p>
15+
<p><strong>示例&nbsp;1:</strong></p>
1816

1917
<pre>
2018
<strong>输入:</strong>nums = [2,3,1,1,4]
2119
<strong>输出:</strong>true
2220
<strong>解释:</strong>可以先跳 1 步,从下标 0 到达下标 1, 然后再从下标 1 跳 3 步到达最后一个下标。
2321
</pre>
2422

25-
<p><strong>示例 2:</strong></p>
23+
<p><strong>示例&nbsp;2:</strong></p>
2624

2725
<pre>
2826
<strong>输入:</strong>nums = [3,2,1,0,4]
2927
<strong>输出:</strong>false
3028
<strong>解释:</strong>无论怎样,总会到达下标为 3 的位置。但该下标的最大跳跃长度是 0 , 所以永远不可能到达最后一个下标。
3129
</pre>
3230

33-
<p> </p>
31+
<p>&nbsp;</p>
3432

3533
<p><strong>提示:</strong></p>
3634

3735
<ul>
38-
<li><code>1 <= nums.length <= 3 * 10<sup>4</sup></code></li>
39-
<li><code>0 <= nums[i] <= 10<sup>5</sup></code></li>
36+
<li><code>1 &lt;= nums.length &lt;= 10<sup>4</sup></code></li>
37+
<li><code>0 &lt;= nums[i] &lt;= 10<sup>5</sup></code></li>
4038
</ul>
4139

4240
## 解法

solution/0100-0199/0175.Combine Two Tables/README_EN.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
| lastName | varchar |
1515
| firstName | varchar |
1616
+-------------+---------+
17-
personId is the primary key column for this table.
17+
personId is the primary key (column with unique values) for this table.
1818
This table contains information about the ID of some persons and their first and last names.
1919
</pre>
2020

@@ -31,17 +31,17 @@ This table contains information about the ID of some persons and their first and
3131
| city | varchar |
3232
| state | varchar |
3333
+-------------+---------+
34-
addressId is the primary key column for this table.
34+
addressId is the primary key (column with unique values) for this table.
3535
Each row of this table contains information about the city and state of one person with ID = PersonId.
3636
</pre>
3737

3838
<p>&nbsp;</p>
3939

40-
<p>Write an SQL query to report the first name, last name, city, and state of each person in the <code>Person</code> table. If the address of a <code>personId</code> is not present in the <code>Address</code> table, report <code>null</code> instead.</p>
40+
<p>Write a solution to report the first name, last name, city, and state of each person in the <code>Person</code> table. If the address of a <code>personId</code> is not present in the <code>Address</code> table, report <code>null</code> instead.</p>
4141

4242
<p>Return the result table in <strong>any order</strong>.</p>
4343

44-
<p>The query result format is in the following example.</p>
44+
<p>The result format is in the following example.</p>
4545

4646
<p>&nbsp;</p>
4747
<p><strong class="example">Example 1:</strong></p>

solution/0100-0199/0181.Employees Earning More Than Their Managers/README_EN.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515
| salary | int |
1616
| managerId | int |
1717
+-------------+---------+
18-
id is the primary key column for this table.
18+
id is the primary key (column with unique values) for this table.
1919
Each row of this table indicates the ID of an employee, their name, salary, and the ID of their manager.
2020
</pre>
2121

2222
<p>&nbsp;</p>
2323

24-
<p>Write an SQL query to find the employees who earn more than their managers.</p>
24+
<p>Write a solution&nbsp;to find the employees who earn more than their managers.</p>
2525

2626
<p>Return the result table in <strong>any order</strong>.</p>
2727

28-
<p>The query result format is in the following example.</p>
28+
<p>The result format is in the following example.</p>
2929

3030
<p>&nbsp;</p>
3131
<p><strong class="example">Example 1:</strong></p>

solution/0100-0199/0182.Duplicate Emails/README_EN.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@
1313
| id | int |
1414
| email | varchar |
1515
+-------------+---------+
16-
id is the primary key column for this table.
16+
id is the primary key (column with unique values) for this table.
1717
Each row of this table contains an email. The emails will not contain uppercase letters.
1818
</pre>
1919

2020
<p>&nbsp;</p>
2121

22-
<p>Write an SQL query to report all the duplicate emails. Note that it&#39;s guaranteed that the email&nbsp;field is not NULL.</p>
22+
<p>Write a solution to report all the duplicate emails. Note that it&#39;s guaranteed that the email&nbsp;field is not NULL.</p>
2323

2424
<p>Return the result table in <strong>any order</strong>.</p>
2525

26-
<p>The query result format is in the following example.</p>
26+
<p>The&nbsp;result format is in the following example.</p>
2727

2828
<p>&nbsp;</p>
2929
<p><strong class="example">Example 1:</strong></p>

solution/0100-0199/0185.Department Top Three Salaries/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
| salary | int |
1818
| departmentId | int |
1919
+--------------+---------+
20-
Id是该表的主键列
21-
departmentId是Department表中ID的外键
20+
id 是该表的主键列(具有唯一值的列)
21+
departmentId 是 Department 表中 ID 的外键(reference 列)
2222
该表的每一行都表示员工的ID、姓名和工资。它还包含了他们部门的ID。
2323
</pre>
2424

@@ -33,19 +33,19 @@ departmentId是Department表中ID的外键。
3333
| id | int |
3434
| name | varchar |
3535
+-------------+---------+
36-
Id是该表的主键列
36+
id 是该表的主键列(具有唯一值的列)
3737
该表的每一行表示部门ID和部门名。
3838
</pre>
3939

4040
<p>&nbsp;</p>
4141

4242
<p>公司的主管们感兴趣的是公司每个部门中谁赚的钱最多。一个部门的 <strong>高收入者</strong> 是指一个员工的工资在该部门的 <strong>不同</strong> 工资中 <strong>排名前三</strong> 。</p>
4343

44-
<p>编写一个SQL查询,找出每个部门中 <strong>收入高的员工</strong> 。</p>
44+
<p>编写解决方案,找出每个部门中 <strong>收入高的员工</strong> 。</p>
4545

4646
<p>以 <strong>任意顺序</strong> 返回结果表。</p>
4747

48-
<p>查询结果格式如下所示。</p>
48+
<p>返回结果格式如下所示。</p>
4949

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

solution/0100-0199/0185.Department Top Three Salaries/README_EN.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
| salary | int |
1616
| departmentId | int |
1717
+--------------+---------+
18-
id is the primary key column for this table.
19-
departmentId is a foreign key of the ID from the <code>Department </code>table.
18+
id is the primary key (column with unique values) for this table.
19+
departmentId is a foreign key (reference column) of the ID from the <code>Department </code>table.
2020
Each row of this table indicates the ID, name, and salary of an employee. It also contains the ID of their department.
2121
</pre>
2222

@@ -31,19 +31,19 @@ Each row of this table indicates the ID, name, and salary of an employee. It als
3131
| id | int |
3232
| name | varchar |
3333
+-------------+---------+
34-
id is the primary key column for this table.
34+
id is the primary key (column with unique values) for this table.
3535
Each row of this table indicates the ID of a department and its name.
3636
</pre>
3737

3838
<p>&nbsp;</p>
3939

4040
<p>A company&#39;s executives are interested in seeing who earns the most money in each of the company&#39;s departments. A <strong>high earner</strong> in a department is an employee who has a salary in the <strong>top three unique</strong> salaries for that department.</p>
4141

42-
<p>Write an SQL query to find the employees who are <strong>high earners</strong> in each of the departments.</p>
42+
<p>Write a solution to find the employees who are <strong>high earners</strong> in each of the departments.</p>
4343

4444
<p>Return the result table <strong>in any order</strong>.</p>
4545

46-
<p>The query result format is in the following example.</p>
46+
<p>The&nbsp;result format is in the following example.</p>
4747

4848
<p>&nbsp;</p>
4949
<p><strong class="example">Example 1:</strong></p>

solution/0100-0199/0196.Delete Duplicate Emails/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
| id | int |
1616
| email | varchar |
1717
+-------------+---------+
18-
在 SQL 中,id 是该表的主键列。
18+
id 是该表的主键列(具有唯一值的列)
1919
该表的每一行包含一封电子邮件。电子邮件将不包含大写字母。
2020
</pre>
2121

2222
<p>&nbsp;</p>
2323

24-
<p><strong>删除</strong> 所有重复的电子邮件,只保留一个具有最小 <code>id</code> 的唯一电子邮件。</p>
24+
<p>编写解决方案<strong> 删除</strong> 所有重复的电子邮件,只保留一个具有最小 <code>id</code> 的唯一电子邮件。</p>
2525

2626
<p>(对于 SQL 用户,请注意你应该编写一个 <code>DELETE</code> 语句而不是 <code>SELECT</code> 语句。)</p>
2727

solution/0200-0299/0262.Trips and Users/README.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
| status | enum |
2222
| request_at | date |
2323
+-------------+----------+
24-
id 是这张表的主键。
24+
id 是这张表的主键(具有唯一值的列)
2525
这张表中存所有出租车的行程信息。每段行程有唯一 id ,其中 client_id 和 driver_id 是 Users 表中 users_id 的外键。
2626
status 是一个表示行程状态的枚举类型,枚举成员为(‘completed’, ‘cancelled_by_driver’, ‘cancelled_by_client’) 。
2727
</pre>
@@ -42,7 +42,7 @@ status 是一个表示行程状态的枚举类型,枚举成员为(‘completed
4242
| banned | enum |
4343
| role | enum |
4444
+-------------+----------+
45-
users_id 是这张表的主键。
45+
users_id 是这张表的主键(具有唯一值的列)
4646
这张表中存所有用户,每个用户都有一个唯一的 users_id ,role 是一个表示用户身份的枚举类型,枚举成员为 (‘client’, ‘driver’, ‘partner’) 。
4747
banned 是一个表示用户是否被禁止的枚举类型,枚举成员为 (‘Yes’, ‘No’) 。
4848
</pre>
@@ -51,15 +51,15 @@ banned 是一个表示用户是否被禁止的枚举类型,枚举成员为 (
5151

5252
<p><strong>取消率</strong> 的计算方式如下:(被司机或乘客取消的非禁止用户生成的订单数量) / (非禁止用户生成的订单总数)。</p>
5353

54-
<p>写一段 SQL 语句查出&nbsp;<code>"2013-10-01"</code><strong>&nbsp;</strong>至&nbsp;<code>"2013-10-03"</code><strong>&nbsp;</strong>期间非禁止用户(<strong>乘客和司机都必须未被禁止</strong>)的取消率。非禁止用户即 banned 为 No 的用户,禁止用户即 banned 为 Yes 的用户。</p>
54+
<p>编写解决方案找出&nbsp;<code>"2013-10-01"</code><strong>&nbsp;</strong>至&nbsp;<code>"2013-10-03"</code><strong>&nbsp;</strong>期间非禁止用户(<strong>乘客和司机都必须未被禁止</strong>)的取消率。非禁止用户即 banned 为 No 的用户,禁止用户即 banned 为 Yes 的用户。其中取消率 <code>Cancellation Rate</code> 需要四舍五入保留 <strong>两位小数</strong> 。</p>
5555

56-
<p>返回结果表中的数据可以按任意顺序组织。其中取消率 <code>Cancellation Rate</code> 需要四舍五入保留 <strong>两位小数</strong> 。</p>
56+
<p>返回结果表中的数据 <strong>无顺序要求</strong> 。</p>
5757

58-
<p>查询结果格式如下例所示。</p>
58+
<p>结果格式如下例所示。</p>
5959

6060
<p>&nbsp;</p>
6161

62-
<p><strong>示例:</strong></p>
62+
<p><strong>示例 1:</strong></p>
6363

6464
<pre>
6565
<strong>输入:</strong>
@@ -78,7 +78,6 @@ Trips 表:
7878
| 9 | 3 | 10 | 12 | completed | 2013-10-03 |
7979
| 10 | 4 | 13 | 12 | cancelled_by_driver | 2013-10-03 |
8080
+----+-----------+-----------+---------+---------------------+------------+
81-
8281
Users 表:
8382
+----------+--------+--------+
8483
| users_id | banned | role |

solution/0200-0299/0262.Trips and Users/README_EN.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
| status | enum |
1818
| request_at | date |
1919
+-------------+----------+
20-
id is the primary key for this table.
20+
id is the primary key (column with unique values) for this table.
2121
The table holds all taxi trips. Each trip has a unique id, while client_id and driver_id are foreign keys to the users_id at the Users table.
22-
Status is an ENUM type of (&#39;completed&#39;, &#39;cancelled_by_driver&#39;, &#39;cancelled_by_client&#39;).
22+
Status is an ENUM (category) type of (&#39;completed&#39;, &#39;cancelled_by_driver&#39;, &#39;cancelled_by_client&#39;).
2323
</pre>
2424

2525
<p>&nbsp;</p>
@@ -34,20 +34,20 @@ Status is an ENUM type of (&#39;completed&#39;, &#39;cancelled_by_driver&#39;, &
3434
| banned | enum |
3535
| role | enum |
3636
+-------------+----------+
37-
users_id is the primary key for this table.
37+
users_id is the primary key (column with unique values) for this table.
3838
The table holds all users. Each user has a unique users_id, and role is an ENUM type of (&#39;client&#39;, &#39;driver&#39;, &#39;partner&#39;).
39-
banned is an ENUM type of (&#39;Yes&#39;, &#39;No&#39;).
39+
banned is an ENUM (category) type of (&#39;Yes&#39;, &#39;No&#39;).
4040
</pre>
4141

4242
<p>&nbsp;</p>
4343

4444
<p>The <strong>cancellation rate</strong> is computed by dividing the number of canceled (by client or driver) requests with unbanned users by the total number of requests with unbanned users on that day.</p>
4545

46-
<p>Write a SQL query to find the <strong>cancellation rate</strong> of requests with unbanned users (<strong>both client and driver must not be banned</strong>) each day between <code>&quot;2013-10-01&quot;</code> and <code>&quot;2013-10-03&quot;</code>. Round <code>Cancellation Rate</code> to <strong>two decimal</strong> points.</p>
46+
<p>Write a solution to find the <strong>cancellation rate</strong> of requests with unbanned users (<strong>both client and driver must not be banned</strong>) each day between <code>&quot;2013-10-01&quot;</code> and <code>&quot;2013-10-03&quot;</code>. Round <code>Cancellation Rate</code> to <strong>two decimal</strong> points.</p>
4747

4848
<p>Return the result table in <strong>any order</strong>.</p>
4949

50-
<p>The query result format is in the following example.</p>
50+
<p>The&nbsp;result format is in the following example.</p>
5151

5252
<p>&nbsp;</p>
5353
<p><strong class="example">Example 1:</strong></p>

solution/0400-0499/0427.Construct Quad Tree/README.md

+15-32
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,17 @@
88

99
<p>给你一个 <code>n * n</code> 矩阵 <code>grid</code> ,矩阵由若干 <code>0</code> 和 <code>1</code> 组成。请你用四叉树表示该矩阵 <code>grid</code> 。</p>
1010

11-
<p>你需要返回能表示矩阵的 四叉树 的根结点。</p>
12-
13-
<p>注意,当 <code>isLeaf</code> 为 <strong>False </strong>时,你可以把 <strong>True</strong> 或者 <strong>False</strong> 赋值给节点,两种值都会被判题机制 <strong>接受</strong> 。</p>
11+
<p>你需要返回能表示矩阵 <code>grid</code> 的 四叉树 的根结点。</p>
1412

1513
<p>四叉树数据结构中,每个内部节点只有四个子节点。此外,每个节点都有两个属性:</p>
1614

1715
<ul>
18-
<li><code>val</code>:储存叶子结点所代表的区域的值。1 对应 <strong>True</strong>,0 对应 <strong>False</strong></li>
16+
<li><code>val</code>:储存叶子结点所代表的区域的值。1 对应 <strong>True</strong>,0 对应 <strong>False</strong>。注意,当 <code>isLeaf</code> 为 <strong>False </strong>时,你可以把 <strong>True</strong> 或者 <strong>False</strong> 赋值给节点,两种值都会被判题机制 <strong>接受</strong> 。</li>
1917
<li><code>isLeaf</code>: 当这个节点是一个叶子结点时为 <strong>True</strong>,如果它有 4 个子节点则为 <strong>False</strong> 。</li>
2018
</ul>
2119

22-
<pre>class Node {
20+
<pre>
21+
class Node {
2322
public boolean val;
2423
&nbsp; &nbsp; public boolean isLeaf;
2524
&nbsp; &nbsp; public Node topLeft;
@@ -36,13 +35,13 @@
3635
<li>使用适当的子网格递归每个子节点。</li>
3736
</ol>
3837

39-
<p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0400-0499/0427.Construct%20Quad%20Tree/images/new_top.png" style="height: 181px; width: 777px;"></p>
38+
<p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0400-0499/0427.Construct%20Quad%20Tree/images/new_top.png" style="height: 181px; width: 777px;" /></p>
4039

4140
<p>如果你想了解更多关于四叉树的内容,可以参考 <a href="https://en.wikipedia.org/wiki/Quadtree">wiki</a> 。</p>
4241

4342
<p><strong>四叉树格式:</strong></p>
4443

45-
<p>输出为使用层序遍历后四叉树的序列化形式,其中 <code>null</code> 表示路径终止符,其下面不存在节点。</p>
44+
<p>你不需要阅读本节来解决这个问题。只有当你想了解输出格式时才会这样做。输出为使用层序遍历后四叉树的序列化形式,其中 <code>null</code> 表示路径终止符,其下面不存在节点。</p>
4645

4746
<p>它与二叉树的序列化非常相似。唯一的区别是节点以列表形式表示 <code>[isLeaf, val]</code> 。</p>
4847

@@ -52,44 +51,28 @@
5251

5352
<p><strong>示例 1:</strong></p>
5453

55-
<p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0400-0499/0427.Construct%20Quad%20Tree/images/grid1.png" style="height: 99px; width: 777px;"></p>
54+
<p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0400-0499/0427.Construct%20Quad%20Tree/images/grid1.png" style="height: 99px; width: 777px;" /></p>
5655

57-
<pre><strong>输入:</strong>grid = [[0,1],[1,0]]
56+
<pre>
57+
<strong>输入:</strong>grid = [[0,1],[1,0]]
5858
<strong>输出:</strong>[[0,1],[1,0],[1,1],[1,1],[1,0]]
5959
<strong>解释:</strong>此示例的解释如下:
6060
请注意,在下面四叉树的图示中,0 表示 false,1 表示 True 。
61-
<img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0400-0499/0427.Construct%20Quad%20Tree/images/e1tree.png" style="height: 186px; width: 777px;">
61+
<img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0400-0499/0427.Construct%20Quad%20Tree/images/e1tree.png" style="height: 186px; width: 777px;" />
6262
</pre>
6363

6464
<p><strong>示例 2:</strong></p>
6565

66-
<p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0400-0499/0427.Construct%20Quad%20Tree/images/e2mat.png" style="height: 343px; width: 777px;"></p>
66+
<p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0400-0499/0427.Construct%20Quad%20Tree/images/e2mat.png" style="height: 343px; width: 777px;" /></p>
6767

68-
<pre><strong>输入:</strong>grid = [[1,1,1,1,0,0,0,0],[1,1,1,1,0,0,0,0],[1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1],[1,1,1,1,0,0,0,0],[1,1,1,1,0,0,0,0],[1,1,1,1,0,0,0,0],[1,1,1,1,0,0,0,0]]
68+
<pre>
69+
<strong>输入:</strong>grid = [[1,1,1,1,0,0,0,0],[1,1,1,1,0,0,0,0],[1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1],[1,1,1,1,0,0,0,0],[1,1,1,1,0,0,0,0],[1,1,1,1,0,0,0,0],[1,1,1,1,0,0,0,0]]
6970
<strong>输出:</strong>[[0,1],[1,1],[0,1],[1,1],[1,0],null,null,null,null,[1,0],[1,0],[1,1],[1,1]]
7071
<strong>解释:</strong>网格中的所有值都不相同。我们将网格划分为四个子网格。
7172
topLeft,bottomLeft 和 bottomRight 均具有相同的值。
7273
topRight 具有不同的值,因此我们将其再分为 4 个子网格,这样每个子网格都具有相同的值。
7374
解释如下图所示:
74-
<img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0400-0499/0427.Construct%20Quad%20Tree/images/e2tree.png" style="height: 328px; width: 777px;">
75-
</pre>
76-
77-
<p><strong>示例 3:</strong></p>
78-
79-
<pre><strong>输入:</strong>grid = [[1,1],[1,1]]
80-
<strong>输出:</strong>[[1,1]]
81-
</pre>
82-
83-
<p><strong>示例 4:</strong></p>
84-
85-
<pre><strong>输入:</strong>grid = [[0]]
86-
<strong>输出:</strong>[[1,0]]
87-
</pre>
88-
89-
<p><strong>示例 5:</strong></p>
90-
91-
<pre><strong>输入:</strong>grid = [[1,1,0,0],[1,1,0,0],[0,0,1,1],[0,0,1,1]]
92-
<strong>输出:</strong>[[0,1],[1,1],[1,0],[1,0],[1,1]]
75+
<img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/0400-0499/0427.Construct%20Quad%20Tree/images/e2tree.png" style="height: 328px; width: 777px;" />
9376
</pre>
9477

9578
<p>&nbsp;</p>
@@ -98,7 +81,7 @@ topRight 具有不同的值,因此我们将其再分为 4 个子网格,这
9881

9982
<ol>
10083
<li><code>n == grid.length == grid[i].length</code></li>
101-
<li><code>n == 2^x</code> 其中 <code>0 &lt;= x &lt;= 6</code></li>
84+
<li><code>n == 2<sup>x</sup></code> 其中 <code>0 &lt;= x &lt;= 6</code></li>
10285
</ol>
10386

10487
## 解法

0 commit comments

Comments
 (0)