diff --git a/solution/0500-0599/0557.Reverse Words in a String III/README.md b/solution/0500-0599/0557.Reverse Words in a String III/README.md index 87ad806d27284..db4cce4b64360 100644 --- a/solution/0500-0599/0557.Reverse Words in a String III/README.md +++ b/solution/0500-0599/0557.Reverse Words in a String III/README.md @@ -20,8 +20,8 @@

示例 2:

-输入: s = "God Ding"
-输出:"doG gniD"
+输入: s = "Mr Ding"
+输出:"rM gniD"
 

 

diff --git a/solution/0500-0599/0557.Reverse Words in a String III/README_EN.md b/solution/0500-0599/0557.Reverse Words in a String III/README_EN.md index 083b24bcee914..01a01dea23681 100644 --- a/solution/0500-0599/0557.Reverse Words in a String III/README_EN.md +++ b/solution/0500-0599/0557.Reverse Words in a String III/README_EN.md @@ -8,12 +8,19 @@

 

Example 1:

-
Input: s = "Let's take LeetCode contest"
-Output: "s'teL ekat edoCteeL tsetnoc"
-

Example 2:

-
Input: s = "God Ding"
-Output: "doG gniD"
+
+
+Input: s = "Let's take LeetCode contest"
+Output: "s'teL ekat edoCteeL tsetnoc"
 
+ +

Example 2:

+ +
+Input: s = "Mr Ding"
+Output: "rM gniD"
+
+

 

Constraints:

diff --git a/solution/1000-1099/1084.Sales Analysis III/README.md b/solution/1000-1099/1084.Sales Analysis III/README.md index 44a00d317897a..60e1b4b611408 100644 --- a/solution/1000-1099/1084.Sales Analysis III/README.md +++ b/solution/1000-1099/1084.Sales Analysis III/README.md @@ -76,10 +76,10 @@ Product table: | 1 | S8 | +-------------+--------------+ 解释: -id为1的产品仅在2019年春季销售。 -id为2的产品在2019年春季销售,但也在2019年春季之后销售。 -id 3的产品在2019年春季之后销售。 -我们只退回产品1,因为它是2019年春季才销售的产品。
+id 为 1 的产品仅在 2019 年春季销售。 +id 为 2 的产品在 2019 年春季销售,但也在 2019 年春季之后销售。 +id 为 3 的产品在 2019 年春季之后销售。 +我们只返回 id 为 1 的产品,因为它是 2019 年春季才销售的产品。 ## 解法 diff --git a/solution/1500-1599/1522.Diameter of N-Ary Tree/README.md b/solution/1500-1599/1522.Diameter of N-Ary Tree/README.md index f869b4d797281..05088054ef6c8 100644 --- a/solution/1500-1599/1522.Diameter of N-Ary Tree/README.md +++ b/solution/1500-1599/1522.Diameter of N-Ary Tree/README.md @@ -6,7 +6,7 @@ -

给定一棵 N 叉树的根节点 root ,计算这棵树的直径长度。

+

给定一棵 N 叉树 的根节点 root ,计算这棵树的直径长度。

N 叉树的直径指的是树中任意两个节点间路径中 最长 路径的长度。这条路径可能经过根节点,也可能不经过根节点。

diff --git a/solution/1500-1599/1522.Diameter of N-Ary Tree/README_EN.md b/solution/1500-1599/1522.Diameter of N-Ary Tree/README_EN.md index 6b746b622b8ab..bb3a3891de2bb 100644 --- a/solution/1500-1599/1522.Diameter of N-Ary Tree/README_EN.md +++ b/solution/1500-1599/1522.Diameter of N-Ary Tree/README_EN.md @@ -4,7 +4,7 @@ ## Description -

Given a root of an N-ary tree, you need to compute the length of the diameter of the tree.

+

Given a root of an N-ary tree, you need to compute the length of the diameter of the tree.

The diameter of an N-ary tree is the length of the longest path between any two nodes in the tree. This path may or may not pass through the root.

diff --git a/solution/2400-2499/2431.Maximize Total Tastiness of Purchased Fruits/README.md b/solution/2400-2499/2431.Maximize Total Tastiness of Purchased Fruits/README.md index 45f11370eb289..dd83245c179e0 100644 --- a/solution/2400-2499/2431.Maximize Total Tastiness of Purchased Fruits/README.md +++ b/solution/2400-2499/2431.Maximize Total Tastiness of Purchased Fruits/README.md @@ -26,8 +26,8 @@

注意:

 

diff --git a/solution/2400-2499/2436.Minimum Split Into Subarrays With GCD Greater Than One/README.md b/solution/2400-2499/2436.Minimum Split Into Subarrays With GCD Greater Than One/README.md index 17069dd0e7936..692421f2285a6 100644 --- a/solution/2400-2499/2436.Minimum Split Into Subarrays With GCD Greater Than One/README.md +++ b/solution/2400-2499/2436.Minimum Split Into Subarrays With GCD Greater Than One/README.md @@ -8,7 +8,7 @@

给定一个由正整数组成的数组 nums

-

将数组拆分为 一个或多个 不相连的子数组,如下所示:

+

将数组拆分为 一个或多个 互相不覆盖的子数组,如下所示: