diff --git a/solution/0100-0199/0195.Tenth Line/README_EN.md b/solution/0100-0199/0195.Tenth Line/README_EN.md
index 7ca9f7187d210..69bdfb2395242 100644
--- a/solution/0100-0199/0195.Tenth Line/README_EN.md	
+++ b/solution/0100-0199/0195.Tenth Line/README_EN.md	
@@ -23,26 +23,41 @@ tags:
 <p>Assume that <code>file.txt</code> has the following content:</p>
 
 <pre>
+
 Line 1
+
 Line 2
+
 Line 3
+
 Line 4
+
 Line 5
+
 Line 6
+
 Line 7
+
 Line 8
+
 Line 9
+
 Line 10
+
 </pre>
 
 <p>Your script should output the tenth line, which is:</p>
 
 <pre>
+
 Line 10
+
 </pre>
 
 <div class="spoilers"><b>Note:</b><br />
+
 1. If the file contains less than 10 lines, what should you output?<br />
+
 2. There&#39;s at least three different solutions. Try to explore all possibilities.</div>
 
 <!-- description:end -->
diff --git a/solution/0400-0499/0486.Predict the Winner/Solution.rs b/solution/0400-0499/0486.Predict the Winner/Solution.rs
index ed4b4f70ffb58..5757d0ae3acb5 100644
--- a/solution/0400-0499/0486.Predict the Winner/Solution.rs	
+++ b/solution/0400-0499/0486.Predict the Winner/Solution.rs	
@@ -13,8 +13,8 @@ impl Solution {
             return f[i][j];
         }
         f[i][j] = std::cmp::max(
-            nums[i] - Self::dfs(nums, f, i + 1, j), 
-            nums[j] - Self::dfs(nums, f, i, j - 1)
+            nums[i] - Self::dfs(nums, f, i + 1, j),
+            nums[j] - Self::dfs(nums, f, i, j - 1),
         );
         f[i][j]
     }
diff --git a/solution/0700-0799/0799.Champagne Tower/README_EN.md b/solution/0700-0799/0799.Champagne Tower/README_EN.md
index 7c1df1e554754..c04fa21334900 100644
--- a/solution/0700-0799/0799.Champagne Tower/README_EN.md	
+++ b/solution/0700-0799/0799.Champagne Tower/README_EN.md	
@@ -27,35 +27,51 @@ tags:
 <p>Now after pouring some non-negative integer cups of champagne, return how full the <code>j<sup>th</sup></code> glass in the <code>i<sup>th</sup></code> row is (both <code>i</code> and <code>j</code> are 0-indexed.)</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> poured = 1, query_row = 1, query_glass = 1
+
 <strong>Output:</strong> 0.00000
+
 <strong>Explanation:</strong> We poured 1 cup of champange to the top glass of the tower (which is indexed as (0, 0)). There will be no excess liquid so all the glasses under the top glass will remain empty.
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> poured = 2, query_row = 1, query_glass = 1
+
 <strong>Output:</strong> 0.50000
+
 <strong>Explanation:</strong> We poured 2 cups of champange to the top glass of the tower (which is indexed as (0, 0)). There is one cup of excess liquid. The glass indexed as (1, 0) and the glass indexed as (1, 1) will share the excess liquid equally, and each will get half cup of champange.
+
 </pre>
 
 <p><strong class="example">Example 3:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> poured = 100000009, query_row = 33, query_glass = 17
+
 <strong>Output:</strong> 1.00000
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>0 &lt;=&nbsp;poured &lt;= 10<sup>9</sup></code></li>
-	<li><code>0 &lt;= query_glass &lt;= query_row&nbsp;&lt; 100</code></li>
+
+    <li><code>0 &lt;=&nbsp;poured &lt;= 10<sup>9</sup></code></li>
+
+    <li><code>0 &lt;= query_glass &lt;= query_row&nbsp;&lt; 100</code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1100-1199/1108.Defanging an IP Address/README_EN.md b/solution/1100-1199/1108.Defanging an IP Address/README_EN.md
index d141c92ba6e45..537e7be2aa54c 100644
--- a/solution/1100-1199/1108.Defanging an IP Address/README_EN.md	
+++ b/solution/1100-1199/1108.Defanging an IP Address/README_EN.md	
@@ -23,18 +23,29 @@ tags:
 <p>A <em>defanged&nbsp;IP address</em>&nbsp;replaces every period <code>&quot;.&quot;</code> with <code>&quot;[.]&quot;</code>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
+
 <pre><strong>Input:</strong> address = "1.1.1.1"
+
 <strong>Output:</strong> "1[.]1[.]1[.]1"
+
 </pre><p><strong class="example">Example 2:</strong></p>
+
 <pre><strong>Input:</strong> address = "255.100.50.0"
+
 <strong>Output:</strong> "255[.]100[.]50[.]0"
+
 </pre>
+
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li>The given <code>address</code> is a valid IPv4 address.</li>
+
+    <li>The given <code>address</code> is a valid IPv4 address.</li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1100-1199/1111.Maximum Nesting Depth of Two Valid Parentheses Strings/README_EN.md b/solution/1100-1199/1111.Maximum Nesting Depth of Two Valid Parentheses Strings/README_EN.md
index c9697163bc163..f4d4f5e49c794 100644
--- a/solution/1100-1199/1111.Maximum Nesting Depth of Two Valid Parentheses Strings/README_EN.md	
+++ b/solution/1100-1199/1111.Maximum Nesting Depth of Two Valid Parentheses Strings/README_EN.md	
@@ -22,17 +22,25 @@ tags:
 <p>A string is a <em>valid parentheses string</em>&nbsp;(denoted VPS) if and only if it consists of <code>&quot;(&quot;</code> and <code>&quot;)&quot;</code> characters only, and:</p>
 
 <ul>
-	<li>It is the empty string, or</li>
-	<li>It can be written as&nbsp;<code>AB</code>&nbsp;(<code>A</code>&nbsp;concatenated with&nbsp;<code>B</code>), where&nbsp;<code>A</code>&nbsp;and&nbsp;<code>B</code>&nbsp;are VPS&#39;s, or</li>
-	<li>It can be written as&nbsp;<code>(A)</code>, where&nbsp;<code>A</code>&nbsp;is a VPS.</li>
+
+    <li>It is the empty string, or</li>
+
+    <li>It can be written as&nbsp;<code>AB</code>&nbsp;(<code>A</code>&nbsp;concatenated with&nbsp;<code>B</code>), where&nbsp;<code>A</code>&nbsp;and&nbsp;<code>B</code>&nbsp;are VPS&#39;s, or</li>
+
+    <li>It can be written as&nbsp;<code>(A)</code>, where&nbsp;<code>A</code>&nbsp;is a VPS.</li>
+
 </ul>
 
 <p>We can&nbsp;similarly define the <em>nesting depth</em> <code>depth(S)</code> of any VPS <code>S</code> as follows:</p>
 
 <ul>
-	<li><code>depth(&quot;&quot;) = 0</code></li>
-	<li><code>depth(A + B) = max(depth(A), depth(B))</code>, where <code>A</code> and <code>B</code> are VPS&#39;s</li>
-	<li><code>depth(&quot;(&quot; + A + &quot;)&quot;) = 1 + depth(A)</code>, where <code>A</code> is a VPS.</li>
+
+    <li><code>depth(&quot;&quot;) = 0</code></li>
+
+    <li><code>depth(A + B) = max(depth(A), depth(B))</code>, where <code>A</code> and <code>B</code> are VPS&#39;s</li>
+
+    <li><code>depth(&quot;(&quot; + A + &quot;)&quot;) = 1 + depth(A)</code>, where <code>A</code> is a VPS.</li>
+
 </ul>
 
 <p>For example,&nbsp; <code>&quot;&quot;</code>,&nbsp;<code>&quot;()()&quot;</code>, and&nbsp;<code>&quot;()(()())&quot;</code>&nbsp;are VPS&#39;s (with nesting depths 0, 1, and 2), and <code>&quot;)(&quot;</code> and <code>&quot;(()&quot;</code> are not VPS&#39;s.</p>
diff --git a/solution/1100-1199/1138.Alphabet Board Path/README_EN.md b/solution/1100-1199/1138.Alphabet Board Path/README_EN.md
index 985ac691f6ce8..27f26e711961c 100644
--- a/solution/1100-1199/1138.Alphabet Board Path/README_EN.md	
+++ b/solution/1100-1199/1138.Alphabet Board Path/README_EN.md	
@@ -28,11 +28,17 @@ tags:
 <p>We may make the following moves:</p>
 
 <ul>
-	<li><code>&#39;U&#39;</code> moves our position up one row, if the position exists on the board;</li>
-	<li><code>&#39;D&#39;</code> moves our position down one row, if the position exists on the board;</li>
-	<li><code>&#39;L&#39;</code> moves our position left one column, if the position exists on the board;</li>
-	<li><code>&#39;R&#39;</code> moves our position right one column, if the position exists on the board;</li>
-	<li><code>&#39;!&#39;</code>&nbsp;adds the character <code>board[r][c]</code> at our current position <code>(r, c)</code>&nbsp;to the&nbsp;answer.</li>
+
+    <li><code>&#39;U&#39;</code> moves our position up one row, if the position exists on the board;</li>
+
+    <li><code>&#39;D&#39;</code> moves our position down one row, if the position exists on the board;</li>
+
+    <li><code>&#39;L&#39;</code> moves our position left one column, if the position exists on the board;</li>
+
+    <li><code>&#39;R&#39;</code> moves our position right one column, if the position exists on the board;</li>
+
+    <li><code>&#39;!&#39;</code>&nbsp;adds the character <code>board[r][c]</code> at our current position <code>(r, c)</code>&nbsp;to the&nbsp;answer.</li>
+
 </ul>
 
 <p>(Here, the only positions that exist on the board are positions with letters on them.)</p>
@@ -40,19 +46,31 @@ tags:
 <p>Return a sequence of moves that makes our answer equal to <code>target</code>&nbsp;in the minimum number of moves.&nbsp; You may return any path that does so.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
+
 <pre><strong>Input:</strong> target = "leet"
+
 <strong>Output:</strong> "DDR!UURRR!!DDD!"
+
 </pre><p><strong class="example">Example 2:</strong></p>
+
 <pre><strong>Input:</strong> target = "code"
+
 <strong>Output:</strong> "RR!DDRR!UUL!R!"
+
 </pre>
+
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= target.length &lt;= 100</code></li>
-	<li><code>target</code> consists only of English lowercase letters.</li>
+
+    <li><code>1 &lt;= target.length &lt;= 100</code></li>
+
+    <li><code>target</code> consists only of English lowercase letters.</li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1100-1199/1139.Largest 1-Bordered Square/README_EN.md b/solution/1100-1199/1139.Largest 1-Bordered Square/README_EN.md
index 0e417fbc50b55..f88d6f213fbf6 100644
--- a/solution/1100-1199/1139.Largest 1-Bordered Square/README_EN.md	
+++ b/solution/1100-1199/1139.Largest 1-Bordered Square/README_EN.md	
@@ -23,27 +23,39 @@ tags:
 <p>Given a 2D <code>grid</code> of <code>0</code>s and <code>1</code>s, return the number of elements in&nbsp;the largest <strong>square</strong>&nbsp;subgrid that has all <code>1</code>s on its <strong>border</strong>, or <code>0</code> if such a subgrid&nbsp;doesn&#39;t exist in the <code>grid</code>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> grid = [[1,1,1],[1,0,1],[1,1,1]]
+
 <strong>Output:</strong> 9
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> grid = [[1,1,0,0]]
+
 <strong>Output:</strong> 1
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= grid.length &lt;= 100</code></li>
-	<li><code>1 &lt;= grid[0].length &lt;= 100</code></li>
-	<li><code>grid[i][j]</code> is <code>0</code> or <code>1</code></li>
+
+    <li><code>1 &lt;= grid.length &lt;= 100</code></li>
+
+    <li><code>1 &lt;= grid[0].length &lt;= 100</code></li>
+
+    <li><code>grid[i][j]</code> is <code>0</code> or <code>1</code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1100-1199/1184.Distance Between Bus Stops/README_EN.md b/solution/1100-1199/1184.Distance Between Bus Stops/README_EN.md
index d947861120f5a..b4e5e94f2f0f6 100644
--- a/solution/1100-1199/1184.Distance Between Bus Stops/README_EN.md	
+++ b/solution/1100-1199/1184.Distance Between Bus Stops/README_EN.md	
@@ -25,13 +25,17 @@ tags:
 <p>Return the shortest distance between the given&nbsp;<code>start</code>&nbsp;and <code>destination</code>&nbsp;stops.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1100-1199/1184.Distance%20Between%20Bus%20Stops/images/untitled-diagram-1.jpg" style="width: 388px; height: 240px;" /></p>
 
 <pre>
+
 <strong>Input:</strong> distance = [1,2,3,4], start = 0, destination = 1
+
 <strong>Output:</strong> 1
+
 <strong>Explanation:</strong> Distance between 0 and 1 is 1 or 9, minimum is 1.</pre>
 
 <p>&nbsp;</p>
@@ -41,9 +45,13 @@ tags:
 <p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1100-1199/1184.Distance%20Between%20Bus%20Stops/images/untitled-diagram-1-1.jpg" style="width: 388px; height: 240px;" /></p>
 
 <pre>
+
 <strong>Input:</strong> distance = [1,2,3,4], start = 0, destination = 2
+
 <strong>Output:</strong> 3
+
 <strong>Explanation:</strong> Distance between 0 and 2 is 3 or 7, minimum is 3.
+
 </pre>
 
 <p>&nbsp;</p>
@@ -53,19 +61,29 @@ tags:
 <p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1100-1199/1184.Distance%20Between%20Bus%20Stops/images/untitled-diagram-1-2.jpg" style="width: 388px; height: 240px;" /></p>
 
 <pre>
+
 <strong>Input:</strong> distance = [1,2,3,4], start = 0, destination = 3
+
 <strong>Output:</strong> 4
+
 <strong>Explanation:</strong> Distance between 0 and 3 is 6 or 4, minimum is 4.
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= n&nbsp;&lt;= 10^4</code></li>
-	<li><code>distance.length == n</code></li>
-	<li><code>0 &lt;= start, destination &lt; n</code></li>
-	<li><code>0 &lt;= distance[i] &lt;= 10^4</code></li>
+
+    <li><code>1 &lt;= n&nbsp;&lt;= 10^4</code></li>
+
+    <li><code>distance.length == n</code></li>
+
+    <li><code>0 &lt;= start, destination &lt; n</code></li>
+
+    <li><code>0 &lt;= distance[i] &lt;= 10^4</code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1200-1299/1238.Circular Permutation in Binary Representation/README_EN.md b/solution/1200-1299/1238.Circular Permutation in Binary Representation/README_EN.md
index 57a0b48ed9325..f3d3a209aa212 100644
--- a/solution/1200-1299/1238.Circular Permutation in Binary Representation/README_EN.md	
+++ b/solution/1200-1299/1238.Circular Permutation in Binary Representation/README_EN.md	
@@ -23,35 +23,53 @@ tags:
 <p>Given 2 integers <code>n</code> and <code>start</code>. Your task is return <strong>any</strong> permutation <code>p</code>&nbsp;of <code>(0,1,2.....,2^n -1) </code>such that :</p>
 
 <ul>
-	<li><code>p[0] = start</code></li>
-	<li><code>p[i]</code> and <code>p[i+1]</code>&nbsp;differ by only one bit in their binary representation.</li>
-	<li><code>p[0]</code> and <code>p[2^n -1]</code>&nbsp;must also differ by only one bit in their binary representation.</li>
+
+    <li><code>p[0] = start</code></li>
+
+    <li><code>p[i]</code> and <code>p[i+1]</code>&nbsp;differ by only one bit in their binary representation.</li>
+
+    <li><code>p[0]</code> and <code>p[2^n -1]</code>&nbsp;must also differ by only one bit in their binary representation.</li>
+
 </ul>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> n = 2, start = 3
+
 <strong>Output:</strong> [3,2,0,1]
+
 <strong>Explanation:</strong> The binary representation of the permutation is (11,10,00,01). 
+
 All the adjacent element differ by one bit. Another valid permutation is [3,1,0,2]
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> n = 3, start = 2
+
 <strong>Output:</strong> [2,6,7,5,4,0,1,3]
+
 <strong>Explanation:</strong> The binary representation of the permutation is (010,110,111,101,100,000,001,011).
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= n &lt;= 16</code></li>
-	<li><code>0 &lt;= start&nbsp;&lt;&nbsp;2 ^ n</code></li>
+
+    <li><code>1 &lt;= n &lt;= 16</code></li>
+
+    <li><code>0 &lt;= start&nbsp;&lt;&nbsp;2 ^ n</code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1200-1299/1256.Encode Number/README_EN.md b/solution/1200-1299/1256.Encode Number/README_EN.md
index 8793661958481..43b8d3ed61ded 100644
--- a/solution/1200-1299/1256.Encode Number/README_EN.md	
+++ b/solution/1200-1299/1256.Encode Number/README_EN.md	
@@ -27,25 +27,35 @@ tags:
 <p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1200-1299/1256.Encode%20Number/images/encode_number.png" style="width: 164px; height: 360px;" /></p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> num = 23
+
 <strong>Output:</strong> &quot;1000&quot;
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> num = 107
+
 <strong>Output:</strong> &quot;101100&quot;
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>0 &lt;= num &lt;= 10^9</code></li>
+
+    <li><code>0 &lt;= num &lt;= 10^9</code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1300-1399/1301.Number of Paths with Max Score/README_EN.md b/solution/1300-1399/1301.Number of Paths with Max Score/README_EN.md
index e9ae14167981a..42f8aab8492d8 100644
--- a/solution/1300-1399/1301.Number of Paths with Max Score/README_EN.md	
+++ b/solution/1300-1399/1301.Number of Paths with Max Score/README_EN.md	
@@ -29,21 +29,35 @@ tags:
 <p>In case there is no path, return&nbsp;<code>[0, 0]</code>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
+
 <pre><strong>Input:</strong> board = ["E23","2X2","12S"]
+
 <strong>Output:</strong> [7,1]
+
 </pre><p><strong class="example">Example 2:</strong></p>
+
 <pre><strong>Input:</strong> board = ["E12","1X1","21S"]
+
 <strong>Output:</strong> [4,2]
+
 </pre><p><strong class="example">Example 3:</strong></p>
+
 <pre><strong>Input:</strong> board = ["E11","XXX","11S"]
+
 <strong>Output:</strong> [0,0]
+
 </pre>
+
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>2 &lt;= board.length == board[i].length &lt;= 100</code></li>
+
+    <li><code>2 &lt;= board.length == board[i].length &lt;= 100</code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1300-1399/1318.Minimum Flips to Make a OR b Equal to c/README_EN.md b/solution/1300-1399/1318.Minimum Flips to Make a OR b Equal to c/README_EN.md
index 25cf3e136deec..5d94e91fb76df 100644
--- a/solution/1300-1399/1318.Minimum Flips to Make a OR b Equal to c/README_EN.md	
+++ b/solution/1300-1399/1318.Minimum Flips to Make a OR b Equal to c/README_EN.md	
@@ -19,39 +19,55 @@ tags:
 <!-- description:start -->
 
 <p>Given 3 positives numbers <code>a</code>, <code>b</code> and <code>c</code>. Return the minimum flips required in some bits of <code>a</code> and <code>b</code> to make (&nbsp;<code>a</code> OR <code>b</code> == <code>c</code>&nbsp;). (bitwise OR operation).<br />
+
 Flip operation&nbsp;consists of change&nbsp;<strong>any</strong>&nbsp;single bit 1 to 0 or change the bit 0 to 1&nbsp;in their binary representation.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1300-1399/1318.Minimum%20Flips%20to%20Make%20a%20OR%20b%20Equal%20to%20c/images/sample_3_1676.png" style="width: 260px; height: 87px;" /></p>
 
 <pre>
+
 <strong>Input:</strong> a = 2, b = 6, c = 5
+
 <strong>Output:</strong> 3
+
 <strong>Explanation: </strong>After flips a = 1 , b = 4 , c = 5 such that (<code>a</code> OR <code>b</code> == <code>c</code>)</pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> a = 4, b = 2, c = 7
+
 <strong>Output:</strong> 1
+
 </pre>
 
 <p><strong class="example">Example 3:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> a = 1, b = 2, c = 3
+
 <strong>Output:</strong> 0
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= a &lt;= 10^9</code></li>
-	<li><code>1 &lt;= b&nbsp;&lt;= 10^9</code></li>
-	<li><code>1 &lt;= c&nbsp;&lt;= 10^9</code></li>
+
+    <li><code>1 &lt;= a &lt;= 10^9</code></li>
+
+    <li><code>1 &lt;= b&nbsp;&lt;= 10^9</code></li>
+
+    <li><code>1 &lt;= c&nbsp;&lt;= 10^9</code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1300-1399/1324.Print Words Vertically/README_EN.md b/solution/1300-1399/1324.Print Words Vertically/README_EN.md
index e1542d061c72f..c86ec25b2c2cb 100644
--- a/solution/1300-1399/1324.Print Words Vertically/README_EN.md	
+++ b/solution/1300-1399/1324.Print Words Vertically/README_EN.md	
@@ -21,46 +21,71 @@ tags:
 <!-- description:start -->
 
 <p>Given a string <code>s</code>.&nbsp;Return&nbsp;all the words vertically in the same order in which they appear in <code>s</code>.<br />
+
 Words are returned as a list of strings, complete with&nbsp;spaces when is necessary. (Trailing spaces are not allowed).<br />
+
 Each word would be put on only one column and that in one column there will be only one word.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> s = &quot;HOW ARE YOU&quot;
+
 <strong>Output:</strong> [&quot;HAY&quot;,&quot;ORO&quot;,&quot;WEU&quot;]
+
 <strong>Explanation: </strong>Each word is printed vertically. 
+
  &quot;HAY&quot;
+
 &nbsp;&quot;ORO&quot;
+
 &nbsp;&quot;WEU&quot;
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> s = &quot;TO BE OR NOT TO BE&quot;
+
 <strong>Output:</strong> [&quot;TBONTB&quot;,&quot;OEROOE&quot;,&quot;   T&quot;]
+
 <strong>Explanation: </strong>Trailing spaces is not allowed. 
+
 &quot;TBONTB&quot;
+
 &quot;OEROOE&quot;
+
 &quot;   T&quot;
+
 </pre>
 
 <p><strong class="example">Example 3:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> s = &quot;CONTEST IS COMING&quot;
+
 <strong>Output:</strong> [&quot;CIC&quot;,&quot;OSO&quot;,&quot;N M&quot;,&quot;T I&quot;,&quot;E N&quot;,&quot;S G&quot;,&quot;T&quot;]
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= s.length &lt;= 200</code></li>
-	<li><code>s</code>&nbsp;contains only upper case English letters.</li>
-	<li>It&#39;s guaranteed that there is only one&nbsp;space between 2 words.</li>
+
+    <li><code>1 &lt;= s.length &lt;= 200</code></li>
+
+    <li><code>s</code>&nbsp;contains only upper case English letters.</li>
+
+    <li>It&#39;s guaranteed that there is only one&nbsp;space between 2 words.</li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/README.md b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/README.md
index 254a012c014fd..62f952989d70e 100644
--- a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/README.md	
+++ b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/README.md	
@@ -86,6 +86,18 @@ tags:
 
 ### 方法一:DFS
 
+我们用一个字符串 $\textit{s}$ 来记录当前的字符串,初始时为空字符串。然后,我们设计一个函数 $\text{dfs}$,用来生成所有长度为 $n$ 的开心字符串。
+
+函数 $\text{dfs}$ 的具体实现如下:
+
+1. 如果当前字符串的长度等于 $n$,则将当前字符串加入答案数组 $\textit{ans}$ 中,然后返回;
+2. 如果答案数组的长度大于等于 $k$,则直接返回;
+3. 否则,我们遍历字符集 $\{a, b, c\}$,对于每个字符 $c$,如果当前字符串为空,或者当前字符串的最后一个字符不等于 $c$,则将字符 $c$ 加入当前字符串,然后递归调用 $\text{dfs}$,递归结束后,将当前字符串的最后一个字符删除。
+
+最后,我们判断答案数组的长度是否小于 $k$,如果是,则返回空字符串,否则返回答案数组的第 $k-1$ 个元素。
+
+时间复杂度 $O(n \times 2^n)$,空间复杂度 $O(n)$。其中 $n$ 为字符串长度。
+
 <!-- tabs:start -->
 
 #### Python3
@@ -93,18 +105,22 @@ tags:
 ```python
 class Solution:
     def getHappyString(self, n: int, k: int) -> str:
-        def dfs(t):
-            if len(t) == n:
-                ans.append(t)
+        def dfs():
+            if len(s) == n:
+                ans.append("".join(s))
+                return
+            if len(ans) >= k:
                 return
-            for c in 'abc':
-                if t and t[-1] == c:
-                    continue
-                dfs(t + c)
+            for c in "abc":
+                if not s or s[-1] != c:
+                    s.append(c)
+                    dfs()
+                    s.pop()
 
         ans = []
-        dfs('')
-        return '' if len(ans) < k else ans[k - 1]
+        s = []
+        dfs()
+        return "" if len(ans) < k else ans[k - 1]
 ```
 
 #### Java
@@ -112,22 +128,30 @@ class Solution:
 ```java
 class Solution {
     private List<String> ans = new ArrayList<>();
+    private StringBuilder s = new StringBuilder();
+    private int n, k;
 
     public String getHappyString(int n, int k) {
-        dfs("", n);
+        this.n = n;
+        this.k = k;
+        dfs();
         return ans.size() < k ? "" : ans.get(k - 1);
     }
 
-    private void dfs(String t, int n) {
-        if (t.length() == n) {
-            ans.add(t);
+    private void dfs() {
+        if (s.length() == n) {
+            ans.add(s.toString());
+            return;
+        }
+        if (ans.size() >= k) {
             return;
         }
         for (char c : "abc".toCharArray()) {
-            if (t.length() > 0 && t.charAt(t.length() - 1) == c) {
-                continue;
+            if (s.isEmpty() || s.charAt(s.length() - 1) != c) {
+                s.append(c);
+                dfs();
+                s.deleteCharAt(s.length() - 1);
             }
-            dfs(t + c, n);
         }
     }
 }
@@ -138,25 +162,62 @@ class Solution {
 ```cpp
 class Solution {
 public:
-    vector<string> ans;
     string getHappyString(int n, int k) {
-        dfs("", n);
+        vector<string> ans;
+        string s = "";
+        auto dfs = [&](this auto&& dfs) -> void {
+            if (s.size() == n) {
+                ans.emplace_back(s);
+                return;
+            }
+            if (ans.size() >= k) {
+                return;
+            }
+            for (char c = 'a'; c <= 'c'; ++c) {
+                if (s.empty() || s.back() != c) {
+                    s.push_back(c);
+                    dfs();
+                    s.pop_back();
+                }
+            }
+        };
+        dfs();
         return ans.size() < k ? "" : ans[k - 1];
     }
+};
+```
 
-    void dfs(string t, int n) {
-        if (t.size() == n) {
-            ans.push_back(t);
-            return;
+#### Go
+
+```go
+func getHappyString(n int, k int) string {
+    ans := []string{}
+    var s []byte
+
+    var dfs func()
+    dfs = func() {
+        if len(s) == n {
+            ans = append(ans, string(s))
+            return
+        }
+        if len(ans) >= k {
+            return
         }
-        for (int c = 'a'; c <= 'c'; ++c) {
-            if (t.size() && t.back() == c) continue;
-            t.push_back(c);
-            dfs(t, n);
-            t.pop_back();
+        for c := byte('a'); c <= 'c'; c++ {
+            if len(s) == 0 || s[len(s)-1] != c {
+                s = append(s, c)
+                dfs()
+                s = s[:len(s)-1]
+            }
         }
     }
-};
+
+    dfs()
+    if len(ans) < k {
+        return ""
+    }
+    return ans[k-1]
+}
 ```
 
 #### TypeScript
@@ -164,46 +225,124 @@ public:
 ```ts
 function getHappyString(n: number, k: number): string {
     const ans: string[] = [];
-
-    const dfs = (s = '') => {
+    const s: string[] = [];
+    const dfs = () => {
         if (s.length === n) {
-            ans.push(s);
+            ans.push(s.join(''));
             return;
         }
-
-        for (const ch of 'abc') {
-            if (s.at(-1) === ch) continue;
-            dfs(s + ch);
+        if (ans.length >= k) {
+            return;
+        }
+        for (const c of 'abc') {
+            if (!s.length || s.at(-1)! !== c) {
+                s.push(c);
+                dfs();
+                s.pop();
+            }
         }
     };
-
     dfs();
-
     return ans[k - 1] ?? '';
 }
 ```
 
+#### Rust
+
+```rust
+impl Solution {
+    pub fn get_happy_string(n: i32, k: i32) -> String {
+        let mut ans = Vec::new();
+        let mut s = String::new();
+        let mut k = k;
+
+        fn dfs(n: i32, s: &mut String, ans: &mut Vec<String>, k: &mut i32) {
+            if s.len() == n as usize {
+                ans.push(s.clone());
+                return;
+            }
+            if ans.len() >= *k as usize {
+                return;
+            }
+            for c in "abc".chars() {
+                if s.is_empty() || s.chars().last() != Some(c) {
+                    s.push(c);
+                    dfs(n, s, ans, k);
+                    s.pop();
+                }
+            }
+        }
+
+        dfs(n, &mut s, &mut ans, &mut k);
+        if ans.len() < k as usize {
+            "".to_string()
+        } else {
+            ans[(k - 1) as usize].clone()
+        }
+    }
+}
+```
+
 #### JavaScript
 
 ```js
-function getHappyString(n, k) {
+/**
+ * @param {number} n
+ * @param {number} k
+ * @return {string}
+ */
+var getHappyString = function (n, k) {
     const ans = [];
-
-    const dfs = (s = '') => {
+    const s = [];
+    const dfs = () => {
         if (s.length === n) {
-            ans.push(s);
+            ans.push(s.join(''));
             return;
         }
-
-        for (const ch of 'abc') {
-            if (s.at(-1) === ch) continue;
-            dfs(s + ch);
+        if (ans.length >= k) {
+            return;
+        }
+        for (const c of 'abc') {
+            if (!s.length || s.at(-1) !== c) {
+                s.push(c);
+                dfs();
+                s.pop();
+            }
         }
     };
-
     dfs();
-
     return ans[k - 1] ?? '';
+};
+```
+
+#### C#
+
+```cs
+public class Solution {
+    public string GetHappyString(int n, int k) {
+        List<string> ans = new List<string>();
+        StringBuilder s = new StringBuilder();
+
+        void Dfs() {
+            if (s.Length == n) {
+                ans.Add(s.ToString());
+                return;
+            }
+            if (ans.Count >= k) {
+                return;
+            }
+            foreach (char c in "abc") {
+                if (s.Length == 0 || s[s.Length - 1] != c) {
+                    s.Append(c);
+                    Dfs();
+                    s.Length--;
+                }
+            }
+        }
+
+        Dfs();
+        return ans.Count < k ? "" : ans[k - 1];
+    }
 }
 ```
 
diff --git a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/README_EN.md b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/README_EN.md
index f1c0ddf2c09dd..a1d600e38195f 100644
--- a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/README_EN.md	
+++ b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/README_EN.md	
@@ -71,7 +71,19 @@ tags:
 
 <!-- solution:start -->
 
-### Solution 1
+### Solution 1: DFS
+
+We use a string $\textit{s}$ to record the current string, initially an empty string. Then, we design a function $\text{dfs}$ to generate all happy strings of length $n$.
+
+The implementation of the function $\text{dfs}$ is as follows:
+
+1. If the length of the current string is equal to $n$, add the current string to the answer array $\textit{ans}$ and return;
+2. If the length of the answer array is greater than or equal to $k$, return directly;
+3. Otherwise, we iterate over the character set $\{a, b, c\}$. For each character $c$, if the current string is empty or the last character of the current string is not equal to $c$, add the character $c$ to the current string, then recursively call $\text{dfs}$. After the recursion ends, remove the last character of the current string.
+
+Finally, we check if the length of the answer array is less than $k$. If it is, return an empty string; otherwise, return the $k$-th element of the answer array.
+
+The time complexity is $O(n \times 2^n)$, and the space complexity is $O(n)$. Here, $n$ is the length of the string.
 
 <!-- tabs:start -->
 
@@ -80,18 +92,22 @@ tags:
 ```python
 class Solution:
     def getHappyString(self, n: int, k: int) -> str:
-        def dfs(t):
-            if len(t) == n:
-                ans.append(t)
+        def dfs():
+            if len(s) == n:
+                ans.append("".join(s))
+                return
+            if len(ans) >= k:
                 return
-            for c in 'abc':
-                if t and t[-1] == c:
-                    continue
-                dfs(t + c)
+            for c in "abc":
+                if not s or s[-1] != c:
+                    s.append(c)
+                    dfs()
+                    s.pop()
 
         ans = []
-        dfs('')
-        return '' if len(ans) < k else ans[k - 1]
+        s = []
+        dfs()
+        return "" if len(ans) < k else ans[k - 1]
 ```
 
 #### Java
@@ -99,22 +115,30 @@ class Solution:
 ```java
 class Solution {
     private List<String> ans = new ArrayList<>();
+    private StringBuilder s = new StringBuilder();
+    private int n, k;
 
     public String getHappyString(int n, int k) {
-        dfs("", n);
+        this.n = n;
+        this.k = k;
+        dfs();
         return ans.size() < k ? "" : ans.get(k - 1);
     }
 
-    private void dfs(String t, int n) {
-        if (t.length() == n) {
-            ans.add(t);
+    private void dfs() {
+        if (s.length() == n) {
+            ans.add(s.toString());
+            return;
+        }
+        if (ans.size() >= k) {
             return;
         }
         for (char c : "abc".toCharArray()) {
-            if (t.length() > 0 && t.charAt(t.length() - 1) == c) {
-                continue;
+            if (s.isEmpty() || s.charAt(s.length() - 1) != c) {
+                s.append(c);
+                dfs();
+                s.deleteCharAt(s.length() - 1);
             }
-            dfs(t + c, n);
         }
     }
 }
@@ -125,25 +149,62 @@ class Solution {
 ```cpp
 class Solution {
 public:
-    vector<string> ans;
     string getHappyString(int n, int k) {
-        dfs("", n);
+        vector<string> ans;
+        string s = "";
+        auto dfs = [&](this auto&& dfs) -> void {
+            if (s.size() == n) {
+                ans.emplace_back(s);
+                return;
+            }
+            if (ans.size() >= k) {
+                return;
+            }
+            for (char c = 'a'; c <= 'c'; ++c) {
+                if (s.empty() || s.back() != c) {
+                    s.push_back(c);
+                    dfs();
+                    s.pop_back();
+                }
+            }
+        };
+        dfs();
         return ans.size() < k ? "" : ans[k - 1];
     }
+};
+```
 
-    void dfs(string t, int n) {
-        if (t.size() == n) {
-            ans.push_back(t);
-            return;
+#### Go
+
+```go
+func getHappyString(n int, k int) string {
+    ans := []string{}
+    var s []byte
+
+    var dfs func()
+    dfs = func() {
+        if len(s) == n {
+            ans = append(ans, string(s))
+            return
+        }
+        if len(ans) >= k {
+            return
         }
-        for (int c = 'a'; c <= 'c'; ++c) {
-            if (t.size() && t.back() == c) continue;
-            t.push_back(c);
-            dfs(t, n);
-            t.pop_back();
+        for c := byte('a'); c <= 'c'; c++ {
+            if len(s) == 0 || s[len(s)-1] != c {
+                s = append(s, c)
+                dfs()
+                s = s[:len(s)-1]
+            }
         }
     }
-};
+
+    dfs()
+    if len(ans) < k {
+        return ""
+    }
+    return ans[k-1]
+}
 ```
 
 #### TypeScript
@@ -151,46 +212,124 @@ public:
 ```ts
 function getHappyString(n: number, k: number): string {
     const ans: string[] = [];
-
-    const dfs = (s = '') => {
+    const s: string[] = [];
+    const dfs = () => {
         if (s.length === n) {
-            ans.push(s);
+            ans.push(s.join(''));
             return;
         }
-
-        for (const ch of 'abc') {
-            if (s.at(-1) === ch) continue;
-            dfs(s + ch);
+        if (ans.length >= k) {
+            return;
+        }
+        for (const c of 'abc') {
+            if (!s.length || s.at(-1)! !== c) {
+                s.push(c);
+                dfs();
+                s.pop();
+            }
         }
     };
-
     dfs();
-
     return ans[k - 1] ?? '';
 }
 ```
 
+#### Rust
+
+```rust
+impl Solution {
+    pub fn get_happy_string(n: i32, k: i32) -> String {
+        let mut ans = Vec::new();
+        let mut s = String::new();
+        let mut k = k;
+
+        fn dfs(n: i32, s: &mut String, ans: &mut Vec<String>, k: &mut i32) {
+            if s.len() == n as usize {
+                ans.push(s.clone());
+                return;
+            }
+            if ans.len() >= *k as usize {
+                return;
+            }
+            for c in "abc".chars() {
+                if s.is_empty() || s.chars().last() != Some(c) {
+                    s.push(c);
+                    dfs(n, s, ans, k);
+                    s.pop();
+                }
+            }
+        }
+
+        dfs(n, &mut s, &mut ans, &mut k);
+        if ans.len() < k as usize {
+            "".to_string()
+        } else {
+            ans[(k - 1) as usize].clone()
+        }
+    }
+}
+```
+
 #### JavaScript
 
 ```js
-function getHappyString(n, k) {
+/**
+ * @param {number} n
+ * @param {number} k
+ * @return {string}
+ */
+var getHappyString = function (n, k) {
     const ans = [];
-
-    const dfs = (s = '') => {
+    const s = [];
+    const dfs = () => {
         if (s.length === n) {
-            ans.push(s);
+            ans.push(s.join(''));
             return;
         }
-
-        for (const ch of 'abc') {
-            if (s.at(-1) === ch) continue;
-            dfs(s + ch);
+        if (ans.length >= k) {
+            return;
+        }
+        for (const c of 'abc') {
+            if (!s.length || s.at(-1) !== c) {
+                s.push(c);
+                dfs();
+                s.pop();
+            }
         }
     };
-
     dfs();
-
     return ans[k - 1] ?? '';
+};
+```
+
+#### C#
+
+```cs
+public class Solution {
+    public string GetHappyString(int n, int k) {
+        List<string> ans = new List<string>();
+        StringBuilder s = new StringBuilder();
+
+        void Dfs() {
+            if (s.Length == n) {
+                ans.Add(s.ToString());
+                return;
+            }
+            if (ans.Count >= k) {
+                return;
+            }
+            foreach (char c in "abc") {
+                if (s.Length == 0 || s[s.Length - 1] != c) {
+                    s.Append(c);
+                    Dfs();
+                    s.Length--;
+                }
+            }
+        }
+
+        Dfs();
+        return ans.Count < k ? "" : ans[k - 1];
+    }
 }
 ```
 
diff --git a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.cpp b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.cpp
index 33c13dad5b07a..83d3016fc02ad 100644
--- a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.cpp	
+++ b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.cpp	
@@ -1,21 +1,25 @@
 class Solution {
 public:
-    vector<string> ans;
     string getHappyString(int n, int k) {
-        dfs("", n);
+        vector<string> ans;
+        string s = "";
+        auto dfs = [&](this auto&& dfs) -> void {
+            if (s.size() == n) {
+                ans.emplace_back(s);
+                return;
+            }
+            if (ans.size() >= k) {
+                return;
+            }
+            for (char c = 'a'; c <= 'c'; ++c) {
+                if (s.empty() || s.back() != c) {
+                    s.push_back(c);
+                    dfs();
+                    s.pop_back();
+                }
+            }
+        };
+        dfs();
         return ans.size() < k ? "" : ans[k - 1];
     }
-
-    void dfs(string t, int n) {
-        if (t.size() == n) {
-            ans.push_back(t);
-            return;
-        }
-        for (int c = 'a'; c <= 'c'; ++c) {
-            if (t.size() && t.back() == c) continue;
-            t.push_back(c);
-            dfs(t, n);
-            t.pop_back();
-        }
-    }
-};
\ No newline at end of file
+};
diff --git a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.cs b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.cs
new file mode 100644
index 0000000000000..7f9c275f536ac
--- /dev/null
+++ b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.cs	
@@ -0,0 +1,26 @@
+public class Solution {
+    public string GetHappyString(int n, int k) {
+        List<string> ans = new List<string>();
+        StringBuilder s = new StringBuilder();
+
+        void Dfs() {
+            if (s.Length == n) {
+                ans.Add(s.ToString());
+                return;
+            }
+            if (ans.Count >= k) {
+                return;
+            }
+            foreach (char c in "abc") {
+                if (s.Length == 0 || s[s.Length - 1] != c) {
+                    s.Append(c);
+                    Dfs();
+                    s.Length--;
+                }
+            }
+        }
+
+        Dfs();
+        return ans.Count < k ? "" : ans[k - 1];
+    }
+}
diff --git a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.go b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.go
new file mode 100644
index 0000000000000..42fe5cf0cbe94
--- /dev/null
+++ b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.go	
@@ -0,0 +1,28 @@
+func getHappyString(n int, k int) string {
+    ans := []string{}
+    var s []byte
+
+    var dfs func()
+    dfs = func() {
+        if len(s) == n {
+            ans = append(ans, string(s))
+            return
+        }
+        if len(ans) >= k {
+            return
+        }
+        for c := byte('a'); c <= 'c'; c++ {
+            if len(s) == 0 || s[len(s)-1] != c {
+                s = append(s, c)
+                dfs()
+                s = s[:len(s)-1]
+            }
+        }
+    }
+
+    dfs()
+    if len(ans) < k {
+        return ""
+    }
+    return ans[k-1]
+}
diff --git a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.java b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.java
index a9a86e3b6a8c0..5eca4c6418dd0 100644
--- a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.java	
+++ b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.java	
@@ -1,21 +1,29 @@
 class Solution {
     private List<String> ans = new ArrayList<>();
+    private StringBuilder s = new StringBuilder();
+    private int n, k;
 
     public String getHappyString(int n, int k) {
-        dfs("", n);
+        this.n = n;
+        this.k = k;
+        dfs();
         return ans.size() < k ? "" : ans.get(k - 1);
     }
 
-    private void dfs(String t, int n) {
-        if (t.length() == n) {
-            ans.add(t);
+    private void dfs() {
+        if (s.length() == n) {
+            ans.add(s.toString());
+            return;
+        }
+        if (ans.size() >= k) {
             return;
         }
         for (char c : "abc".toCharArray()) {
-            if (t.length() > 0 && t.charAt(t.length() - 1) == c) {
-                continue;
+            if (s.isEmpty() || s.charAt(s.length() - 1) != c) {
+                s.append(c);
+                dfs();
+                s.deleteCharAt(s.length() - 1);
             }
-            dfs(t + c, n);
         }
     }
-}
\ No newline at end of file
+}
diff --git a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.js b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.js
index e349343e318ff..35e45207500c4 100644
--- a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.js	
+++ b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.js	
@@ -1,19 +1,27 @@
-function getHappyString(n, k) {
+/**
+ * @param {number} n
+ * @param {number} k
+ * @return {string}
+ */
+var getHappyString = function (n, k) {
     const ans = [];
-
-    const dfs = (s = '') => {
+    const s = [];
+    const dfs = () => {
         if (s.length === n) {
-            ans.push(s);
+            ans.push(s.join(''));
             return;
         }
-
-        for (const ch of 'abc') {
-            if (s.at(-1) === ch) continue;
-            dfs(s + ch);
+        if (ans.length >= k) {
+            return;
+        }
+        for (const c of 'abc') {
+            if (!s.length || s.at(-1) !== c) {
+                s.push(c);
+                dfs();
+                s.pop();
+            }
         }
     };
-
     dfs();
-
     return ans[k - 1] ?? '';
-}
+};
diff --git a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.py b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.py
index d394dc49dfa5d..7efc3ad4f1f41 100644
--- a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.py	
+++ b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.py	
@@ -1,14 +1,18 @@
 class Solution:
     def getHappyString(self, n: int, k: int) -> str:
-        def dfs(t):
-            if len(t) == n:
-                ans.append(t)
+        def dfs():
+            if len(s) == n:
+                ans.append("".join(s))
                 return
-            for c in 'abc':
-                if t and t[-1] == c:
-                    continue
-                dfs(t + c)
+            if len(ans) >= k:
+                return
+            for c in "abc":
+                if not s or s[-1] != c:
+                    s.append(c)
+                    dfs()
+                    s.pop()
 
         ans = []
-        dfs('')
-        return '' if len(ans) < k else ans[k - 1]
+        s = []
+        dfs()
+        return "" if len(ans) < k else ans[k - 1]
diff --git a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.rs b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.rs
new file mode 100644
index 0000000000000..95354a544d4ee
--- /dev/null
+++ b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.rs	
@@ -0,0 +1,31 @@
+impl Solution {
+    pub fn get_happy_string(n: i32, k: i32) -> String {
+        let mut ans = Vec::new();
+        let mut s = String::new();
+        let mut k = k;
+
+        fn dfs(n: i32, s: &mut String, ans: &mut Vec<String>, k: &mut i32) {
+            if s.len() == n as usize {
+                ans.push(s.clone());
+                return;
+            }
+            if ans.len() >= *k as usize {
+                return;
+            }
+            for c in "abc".chars() {
+                if s.is_empty() || s.chars().last() != Some(c) {
+                    s.push(c);
+                    dfs(n, s, ans, k);
+                    s.pop();
+                }
+            }
+        }
+
+        dfs(n, &mut s, &mut ans, &mut k);
+        if ans.len() < k as usize {
+            "".to_string()
+        } else {
+            ans[(k - 1) as usize].clone()
+        }
+    }
+}
diff --git a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.ts b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.ts
index 8f421ccaf92f4..b676a2f42b60a 100644
--- a/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.ts	
+++ b/solution/1400-1499/1415.The k-th Lexicographical String of All Happy Strings of Length n/Solution.ts	
@@ -1,19 +1,22 @@
 function getHappyString(n: number, k: number): string {
     const ans: string[] = [];
-
-    const dfs = (s = '') => {
+    const s: string[] = [];
+    const dfs = () => {
         if (s.length === n) {
-            ans.push(s);
+            ans.push(s.join(''));
             return;
         }
-
-        for (const ch of 'abc') {
-            if (s.at(-1) === ch) continue;
-            dfs(s + ch);
+        if (ans.length >= k) {
+            return;
+        }
+        for (const c of 'abc') {
+            if (!s.length || s.at(-1)! !== c) {
+                s.push(c);
+                dfs();
+                s.pop();
+            }
         }
     };
-
     dfs();
-
     return ans[k - 1] ?? '';
 }
diff --git a/solution/1400-1499/1418.Display Table of Food Orders in a Restaurant/README_EN.md b/solution/1400-1499/1418.Display Table of Food Orders in a Restaurant/README_EN.md
index 809ec164c6da3..dd6bc86d1a53a 100644
--- a/solution/1400-1499/1418.Display Table of Food Orders in a Restaurant/README_EN.md	
+++ b/solution/1400-1499/1418.Display Table of Food Orders in a Restaurant/README_EN.md	
@@ -27,48 +27,77 @@ tags:
 <p><em>Return the restaurant&#39;s &ldquo;<strong>display table</strong>&rdquo;</em>. The &ldquo;<strong>display table</strong>&rdquo; is a table whose row entries denote how many of each food item each table ordered. The first column is the table number and the remaining columns correspond to each food item in alphabetical order. The first row should be a header whose first column is &ldquo;Table&rdquo;, followed by the names of the food items. Note that the customer names are not part of the table. Additionally, the rows should be sorted in numerically increasing order.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> orders = [[&quot;David&quot;,&quot;3&quot;,&quot;Ceviche&quot;],[&quot;Corina&quot;,&quot;10&quot;,&quot;Beef Burrito&quot;],[&quot;David&quot;,&quot;3&quot;,&quot;Fried Chicken&quot;],[&quot;Carla&quot;,&quot;5&quot;,&quot;Water&quot;],[&quot;Carla&quot;,&quot;5&quot;,&quot;Ceviche&quot;],[&quot;Rous&quot;,&quot;3&quot;,&quot;Ceviche&quot;]]
+
 <strong>Output:</strong> [[&quot;Table&quot;,&quot;Beef Burrito&quot;,&quot;Ceviche&quot;,&quot;Fried Chicken&quot;,&quot;Water&quot;],[&quot;3&quot;,&quot;0&quot;,&quot;2&quot;,&quot;1&quot;,&quot;0&quot;],[&quot;5&quot;,&quot;0&quot;,&quot;1&quot;,&quot;0&quot;,&quot;1&quot;],[&quot;10&quot;,&quot;1&quot;,&quot;0&quot;,&quot;0&quot;,&quot;0&quot;]] 
+
 <strong>Explanation:
+
 </strong>The displaying table looks like:
+
 <strong>Table,Beef Burrito,Ceviche,Fried Chicken,Water</strong>
+
 3    ,0           ,2      ,1            ,0
+
 5    ,0           ,1      ,0            ,1
+
 10   ,1           ,0      ,0            ,0
+
 For the table 3: David orders &quot;Ceviche&quot; and &quot;Fried Chicken&quot;, and Rous orders &quot;Ceviche&quot;.
+
 For the table 5: Carla orders &quot;Water&quot; and &quot;Ceviche&quot;.
+
 For the table 10: Corina orders &quot;Beef Burrito&quot;. 
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> orders = [[&quot;James&quot;,&quot;12&quot;,&quot;Fried Chicken&quot;],[&quot;Ratesh&quot;,&quot;12&quot;,&quot;Fried Chicken&quot;],[&quot;Amadeus&quot;,&quot;12&quot;,&quot;Fried Chicken&quot;],[&quot;Adam&quot;,&quot;1&quot;,&quot;Canadian Waffles&quot;],[&quot;Brianna&quot;,&quot;1&quot;,&quot;Canadian Waffles&quot;]]
+
 <strong>Output:</strong> [[&quot;Table&quot;,&quot;Canadian Waffles&quot;,&quot;Fried Chicken&quot;],[&quot;1&quot;,&quot;2&quot;,&quot;0&quot;],[&quot;12&quot;,&quot;0&quot;,&quot;3&quot;]] 
+
 <strong>Explanation:</strong> 
+
 For the table 1: Adam and Brianna order &quot;Canadian Waffles&quot;.
+
 For the table 12: James, Ratesh and Amadeus order &quot;Fried Chicken&quot;.
+
 </pre>
 
 <p><strong class="example">Example 3:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> orders = [[&quot;Laura&quot;,&quot;2&quot;,&quot;Bean Burrito&quot;],[&quot;Jhon&quot;,&quot;2&quot;,&quot;Beef Burrito&quot;],[&quot;Melissa&quot;,&quot;2&quot;,&quot;Soda&quot;]]
+
 <strong>Output:</strong> [[&quot;Table&quot;,&quot;Bean Burrito&quot;,&quot;Beef Burrito&quot;,&quot;Soda&quot;],[&quot;2&quot;,&quot;1&quot;,&quot;1&quot;,&quot;1&quot;]]
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;=&nbsp;orders.length &lt;= 5 * 10^4</code></li>
-	<li><code>orders[i].length == 3</code></li>
-	<li><code>1 &lt;= customerName<sub>i</sub>.length, foodItem<sub>i</sub>.length &lt;= 20</code></li>
-	<li><code>customerName<sub>i</sub></code> and <code>foodItem<sub>i</sub></code> consist of lowercase and uppercase English letters and the space character.</li>
-	<li><code>tableNumber<sub>i</sub>&nbsp;</code>is a valid integer between <code>1</code> and <code>500</code>.</li>
+
+    <li><code>1 &lt;=&nbsp;orders.length &lt;= 5 * 10^4</code></li>
+
+    <li><code>orders[i].length == 3</code></li>
+
+    <li><code>1 &lt;= customerName<sub>i</sub>.length, foodItem<sub>i</sub>.length &lt;= 20</code></li>
+
+    <li><code>customerName<sub>i</sub></code> and <code>foodItem<sub>i</sub></code> consist of lowercase and uppercase English letters and the space character.</li>
+
+    <li><code>tableNumber<sub>i</sub>&nbsp;</code>is a valid integer between <code>1</code> and <code>500</code>.</li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1400-1499/1448.Count Good Nodes in Binary Tree/README_EN.md b/solution/1400-1499/1448.Count Good Nodes in Binary Tree/README_EN.md
index 75f9d52c74990..4a07c72b0b946 100644
--- a/solution/1400-1499/1448.Count Good Nodes in Binary Tree/README_EN.md	
+++ b/solution/1400-1499/1448.Count Good Nodes in Binary Tree/README_EN.md	
@@ -26,17 +26,25 @@ tags:
 <p>Return the number of <strong>good</strong> nodes in the binary tree.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <p><strong><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1400-1499/1448.Count%20Good%20Nodes%20in%20Binary%20Tree/images/test_sample_1.png" style="width: 263px; height: 156px;" /></strong></p>
 
 <pre>
+
 <strong>Input:</strong> root = [3,1,4,3,null,1,5]
+
 <strong>Output:</strong> 4
+
 <strong>Explanation:</strong> Nodes in blue are <strong>good</strong>.
+
 Root Node (3) is always a good node.
+
 Node 4 -&gt; (3,4) is the maximum value in the path starting from the root.
+
 Node 5 -&gt; (3,4,5) is the maximum value in the path
+
 Node 3 -&gt; (3,1,3) is the maximum value in the path.</pre>
 
 <p><strong class="example">Example 2:</strong></p>
@@ -44,23 +52,33 @@ Node 3 -&gt; (3,1,3) is the maximum value in the path.</pre>
 <p><strong><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1400-1499/1448.Count%20Good%20Nodes%20in%20Binary%20Tree/images/test_sample_2.png" style="width: 157px; height: 161px;" /></strong></p>
 
 <pre>
+
 <strong>Input:</strong> root = [3,3,null,4,2]
+
 <strong>Output:</strong> 3
+
 <strong>Explanation:</strong> Node 2 -&gt; (3, 3, 2) is not good, because &quot;3&quot; is higher than it.</pre>
 
 <p><strong class="example">Example 3:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> root = [1]
+
 <strong>Output:</strong> 1
+
 <strong>Explanation:</strong> Root is considered as <strong>good</strong>.</pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li>The number of nodes in the binary tree is in the range&nbsp;<code>[1, 10^5]</code>.</li>
-	<li>Each node&#39;s value is between <code>[-10^4, 10^4]</code>.</li>
+
+    <li>The number of nodes in the binary tree is in the range&nbsp;<code>[1, 10^5]</code>.</li>
+
+    <li>Each node&#39;s value is between <code>[-10^4, 10^4]</code>.</li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1400-1499/1470.Shuffle the Array/README_EN.md b/solution/1400-1499/1470.Shuffle the Array/README_EN.md
index 9246c35a92d80..8a806cd3fd73d 100644
--- a/solution/1400-1499/1470.Shuffle the Array/README_EN.md	
+++ b/solution/1400-1499/1470.Shuffle the Array/README_EN.md	
@@ -23,35 +23,51 @@ tags:
 <p><em>Return the array in the form</em> <code>[x<sub>1</sub>,y<sub>1</sub>,x<sub>2</sub>,y<sub>2</sub>,...,x<sub>n</sub>,y<sub>n</sub>]</code>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [2,5,1,3,4,7], n = 3
+
 <strong>Output:</strong> [2,3,5,4,1,7] 
+
 <strong>Explanation:</strong> Since x<sub>1</sub>=2, x<sub>2</sub>=5, x<sub>3</sub>=1, y<sub>1</sub>=3, y<sub>2</sub>=4, y<sub>3</sub>=7 then the answer is [2,3,5,4,1,7].
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [1,2,3,4,4,3,2,1], n = 4
+
 <strong>Output:</strong> [1,4,2,3,3,2,4,1]
+
 </pre>
 
 <p><strong class="example">Example 3:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [1,1,2,2], n = 2
+
 <strong>Output:</strong> [1,2,1,2]
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= n &lt;= 500</code></li>
-	<li><code>nums.length == 2n</code></li>
-	<li><code>1 &lt;= nums[i] &lt;= 10^3</code></li>
+
+    <li><code>1 &lt;= n &lt;= 500</code></li>
+
+    <li><code>nums.length == 2n</code></li>
+
+    <li><code>1 &lt;= nums[i] &lt;= 10^3</code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1400-1499/1481.Least Number of Unique Integers after K Removals/README_EN.md b/solution/1400-1499/1481.Least Number of Unique Integers after K Removals/README_EN.md
index 00dee15fada33..d367cf0458c18 100644
--- a/solution/1400-1499/1481.Least Number of Unique Integers after K Removals/README_EN.md	
+++ b/solution/1400-1499/1481.Least Number of Unique Integers after K Removals/README_EN.md	
@@ -25,31 +25,45 @@ tags:
 <p>Given an array of integers&nbsp;<code>arr</code>&nbsp;and an integer <code>k</code>.&nbsp;Find the <em>least number of unique integers</em>&nbsp;after removing <strong>exactly</strong> <code>k</code> elements<b>.</b></p>
 
 <ol>
+
 </ol>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input: </strong>arr = [5,5,4], k = 1
+
 <strong>Output: </strong>1
+
 <strong>Explanation</strong>: Remove the single 4, only 5 is left.
+
 </pre>
 
 <strong class="example">Example 2:</strong>
 
 <pre>
+
 <strong>Input: </strong>arr = [4,3,1,1,3,3,2], k = 3
+
 <strong>Output: </strong>2
+
 <strong>Explanation</strong>: Remove 4, 2 and either one of the two 1s or three 3s. 1 and 3 will be left.</pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= arr.length&nbsp;&lt;= 10^5</code></li>
-	<li><code>1 &lt;= arr[i] &lt;= 10^9</code></li>
-	<li><code>0 &lt;= k&nbsp;&lt;= arr.length</code></li>
+
+    <li><code>1 &lt;= arr.length&nbsp;&lt;= 10^5</code></li>
+
+    <li><code>1 &lt;= arr[i] &lt;= 10^9</code></li>
+
+    <li><code>0 &lt;= k&nbsp;&lt;= arr.length</code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1500-1599/1523.Count Odd Numbers in an Interval Range/README_EN.md b/solution/1500-1599/1523.Count Odd Numbers in an Interval Range/README_EN.md
index d1eea923bf055..03cb439cf8dbc 100644
--- a/solution/1500-1599/1523.Count Odd Numbers in an Interval Range/README_EN.md	
+++ b/solution/1500-1599/1523.Count Odd Numbers in an Interval Range/README_EN.md	
@@ -21,25 +21,35 @@ tags:
 <p>Given two non-negative integers <code>low</code> and <code><font face="monospace">high</font></code>. Return the <em>count of odd numbers between </em><code>low</code><em> and </em><code><font face="monospace">high</font></code><em>&nbsp;(inclusive)</em>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> low = 3, high = 7
+
 <strong>Output:</strong> 3
+
 <b>Explanation: </b>The odd numbers between 3 and 7 are [3,5,7].</pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> low = 8, high = 10
+
 <strong>Output:</strong> 1
+
 <b>Explanation: </b>The odd numbers between 8 and 10 are [9].</pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>0 &lt;= low &lt;= high&nbsp;&lt;= 10^9</code></li>
+
+    <li><code>0 &lt;= low &lt;= high&nbsp;&lt;= 10^9</code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1500-1599/1534.Count Good Triplets/README_EN.md b/solution/1500-1599/1534.Count Good Triplets/README_EN.md
index cdec96dfb8cd3..1a417e60574bf 100644
--- a/solution/1500-1599/1534.Count Good Triplets/README_EN.md	
+++ b/solution/1500-1599/1534.Count Good Triplets/README_EN.md	
@@ -24,10 +24,15 @@ tags:
 <p>A triplet <code>(arr[i], arr[j], arr[k])</code>&nbsp;is <strong>good</strong> if the following conditions are true:</p>
 
 <ul>
-	<li><code>0 &lt;= i &lt; j &lt; k &lt;&nbsp;arr.length</code></li>
-	<li><code>|arr[i] - arr[j]| &lt;= a</code></li>
-	<li><code>|arr[j] - arr[k]| &lt;= b</code></li>
-	<li><code>|arr[i] - arr[k]| &lt;= c</code></li>
+
+    <li><code>0 &lt;= i &lt; j &lt; k &lt;&nbsp;arr.length</code></li>
+
+    <li><code>|arr[i] - arr[j]| &lt;= a</code></li>
+
+    <li><code>|arr[j] - arr[k]| &lt;= b</code></li>
+
+    <li><code>|arr[i] - arr[k]| &lt;= c</code></li>
+
 </ul>
 
 <p>Where <code>|x|</code> denotes the absolute value of <code>x</code>.</p>
@@ -35,29 +40,43 @@ tags:
 <p>Return<em> the number of good triplets</em>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> arr = [3,0,1,1,9,7], a = 7, b = 2, c = 3
+
 <strong>Output:</strong> 4
+
 <strong>Explanation:</strong>&nbsp;There are 4 good triplets: [(3,0,1), (3,0,1), (3,1,1), (0,1,1)].
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> arr = [1,1,2,2,3], a = 0, b = 0, c = 1
+
 <strong>Output:</strong> 0
+
 <strong>Explanation: </strong>No triplet satisfies all conditions.
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>3 &lt;= arr.length &lt;= 100</code></li>
-	<li><code>0 &lt;= arr[i] &lt;= 1000</code></li>
-	<li><code>0 &lt;= a, b, c &lt;= 1000</code></li>
+
+    <li><code>3 &lt;= arr.length &lt;= 100</code></li>
+
+    <li><code>0 &lt;= arr[i] &lt;= 1000</code></li>
+
+    <li><code>0 &lt;= a, b, c &lt;= 1000</code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1600-1699/1617.Count Subtrees With Max Distance Between Cities/README_EN.md b/solution/1600-1699/1617.Count Subtrees With Max Distance Between Cities/README_EN.md
index 58a5aa233655e..a39d7dd0a4861 100644
--- a/solution/1600-1699/1617.Count Subtrees With Max Distance Between Cities/README_EN.md	
+++ b/solution/1600-1699/1617.Count Subtrees With Max Distance Between Cities/README_EN.md	
@@ -33,42 +33,63 @@ tags:
 <p><strong>Notice</strong>&nbsp;that&nbsp;the <strong>distance</strong> between the two cities is the number of edges in the path between them.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <p><strong><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1600-1699/1617.Count%20Subtrees%20With%20Max%20Distance%20Between%20Cities/images/p1.png" style="width: 161px; height: 181px;" /></strong></p>
 
 <pre>
+
 <strong>Input:</strong> n = 4, edges = [[1,2],[2,3],[2,4]]
+
 <strong>Output:</strong> [3,4,0]
+
 <strong>Explanation:
+
 </strong>The subtrees with subsets {1,2}, {2,3} and {2,4} have a max distance of 1.
+
 The subtrees with subsets {1,2,3}, {1,2,4}, {2,3,4} and {1,2,3,4} have a max distance of 2.
+
 No subtree has two nodes where the max distance between them is 3.
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> n = 2, edges = [[1,2]]
+
 <strong>Output:</strong> [1]
+
 </pre>
 
 <p><strong class="example">Example 3:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> n = 3, edges = [[1,2],[2,3]]
+
 <strong>Output:</strong> [2,1]
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>2 &lt;= n &lt;= 15</code></li>
-	<li><code>edges.length == n-1</code></li>
-	<li><code>edges[i].length == 2</code></li>
-	<li><code>1 &lt;= u<sub>i</sub>, v<sub>i</sub> &lt;= n</code></li>
-	<li>All pairs <code>(u<sub>i</sub>, v<sub>i</sub>)</code> are distinct.</li>
+
+    <li><code>2 &lt;= n &lt;= 15</code></li>
+
+    <li><code>edges.length == n-1</code></li>
+
+    <li><code>edges[i].length == 2</code></li>
+
+    <li><code>1 &lt;= u<sub>i</sub>, v<sub>i</sub> &lt;= n</code></li>
+
+    <li>All pairs <code>(u<sub>i</sub>, v<sub>i</sub>)</code> are distinct.</li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1600-1699/1618.Maximum Font to Fit a Sentence in a Screen/README_EN.md b/solution/1600-1699/1618.Maximum Font to Fit a Sentence in a Screen/README_EN.md
index 637b3531cdded..86b831b8cd79f 100644
--- a/solution/1600-1699/1618.Maximum Font to Fit a Sentence in a Screen/README_EN.md	
+++ b/solution/1600-1699/1618.Maximum Font to Fit a Sentence in a Screen/README_EN.md	
@@ -26,14 +26,23 @@ tags:
 <p>The <code>FontInfo</code> interface is defined as such:</p>
 
 <pre>
+
 interface FontInfo {
+
   // Returns the width of character ch on the screen using font size fontSize.
+
   // O(1) per call
+
   public int getWidth(int fontSize, char ch);
 
+
+
   // Returns the height of any character on the screen using font size fontSize.
+
   // O(1) per call
+
   public int getHeight(int fontSize);
+
 }</pre>
 
 <p>The calculated width of <code>text</code> for some <code>fontSize</code> is the <strong>sum</strong> of every <code>getWidth(fontSize, text[i])</code> call for each <code>0 &lt;= i &lt; text.length</code> (<strong>0-indexed</strong>). The calculated height of <code>text</code> for some <code>fontSize</code> is <code>getHeight(fontSize)</code>. Note that <code>text</code> is displayed on a <strong>single line</strong>.</p>
@@ -43,45 +52,67 @@ interface FontInfo {
 <p>It is also guaranteed that for any font size <code>fontSize</code> and any character <code>ch</code>:</p>
 
 <ul>
-	<li><code>getHeight(fontSize) &lt;= getHeight(fontSize+1)</code></li>
-	<li><code>getWidth(fontSize, ch) &lt;= getWidth(fontSize+1, ch)</code></li>
+
+    <li><code>getHeight(fontSize) &lt;= getHeight(fontSize+1)</code></li>
+
+    <li><code>getWidth(fontSize, ch) &lt;= getWidth(fontSize+1, ch)</code></li>
+
 </ul>
 
 <p>Return <em>the maximum font size you can use to display </em><code>text</code><em> on the screen</em>. If <code>text</code> cannot fit on the display with any font size, return <code>-1</code>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> text = &quot;helloworld&quot;, w = 80, h = 20, fonts = [6,8,10,12,14,16,18,24,36]
+
 <strong>Output:</strong> 6
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> text = &quot;leetcode&quot;, w = 1000, h = 50, fonts = [1,2,4]
+
 <strong>Output:</strong> 4
+
 </pre>
 
 <p><strong class="example">Example 3:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> text = &quot;easyquestion&quot;, w = 100, h = 100, fonts = [10,15,20,25]
+
 <strong>Output:</strong> -1
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= text.length &lt;= 50000</code></li>
-	<li><code>text</code> contains only lowercase English letters.</li>
-	<li><code>1 &lt;= w &lt;= 10<sup>7</sup></code></li>
-	<li><code>1 &lt;= h &lt;= 10<sup>4</sup></code></li>
-	<li><code>1 &lt;= fonts.length &lt;= 10<sup>5</sup></code></li>
-	<li><code>1 &lt;= fonts[i] &lt;= 10<sup>5</sup></code></li>
-	<li><code>fonts</code> is sorted in ascending order and does not contain duplicates.</li>
+
+    <li><code>1 &lt;= text.length &lt;= 50000</code></li>
+
+    <li><code>text</code> contains only lowercase English letters.</li>
+
+    <li><code>1 &lt;= w &lt;= 10<sup>7</sup></code></li>
+
+    <li><code>1 &lt;= h &lt;= 10<sup>4</sup></code></li>
+
+    <li><code>1 &lt;= fonts.length &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>1 &lt;= fonts[i] &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>fonts</code> is sorted in ascending order and does not contain duplicates.</li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1600-1699/1634.Add Two Polynomials Represented as Linked Lists/README_EN.md b/solution/1600-1699/1634.Add Two Polynomials Represented as Linked Lists/README_EN.md
index b5a4c41d13436..107929af544fa 100644
--- a/solution/1600-1699/1634.Add Two Polynomials Represented as Linked Lists/README_EN.md	
+++ b/solution/1600-1699/1634.Add Two Polynomials Represented as Linked Lists/README_EN.md	
@@ -23,9 +23,13 @@ tags:
 <p>Each node has three attributes:</p>
 
 <ul>
-	<li><code>coefficient</code>: an integer representing the number multiplier of the term. The coefficient of the term <code><strong>9</strong>x<sup>4</sup></code> is <code>9</code>.</li>
-	<li><code>power</code>: an integer representing the exponent. The power of the term <code>9x<strong><sup>4</sup></strong></code> is <code>4</code>.</li>
-	<li><code>next</code>: a pointer to the next node in the list, or <code>null</code> if it is the last node of the list.</li>
+
+    <li><code>coefficient</code>: an integer representing the number multiplier of the term. The coefficient of the term <code><strong>9</strong>x<sup>4</sup></code> is <code>9</code>.</li>
+
+    <li><code>power</code>: an integer representing the exponent. The power of the term <code>9x<strong><sup>4</sup></strong></code> is <code>4</code>.</li>
+
+    <li><code>next</code>: a pointer to the next node in the list, or <code>null</code> if it is the last node of the list.</li>
+
 </ul>
 
 <p>For example, the polynomial <code>5x<sup>3</sup> + 4x - 7</code> is represented by the polynomial linked list illustrated below:</p>
@@ -41,41 +45,61 @@ tags:
 <p>The input/output format is as a list of <code>n</code> nodes, where each node is represented as its <code>[coefficient, power]</code>. For example, the polynomial <code>5x<sup>3</sup> + 4x - 7</code> would be represented as: <code>[[5,3],[4,1],[-7,0]]</code>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1600-1699/1634.Add%20Two%20Polynomials%20Represented%20as%20Linked%20Lists/images/ex1.png" style="width: 600px; height: 322px;" /></p>
 
 <pre>
+
 <strong>Input:</strong> poly1 = [[1,1]], poly2 = [[1,0]]
+
 <strong>Output:</strong> [[1,1],[1,0]]
+
 <strong>Explanation:</strong> poly1 = x. poly2 = 1. The sum is x + 1.
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> poly1 = [[2,2],[4,1],[3,0]], poly2 = [[3,2],[-4,1],[-1,0]]
+
 <strong>Output:</strong> [[5,2],[2,0]]
+
 <strong>Explanation:</strong> poly1 = 2x<sup>2</sup> + 4x + 3. poly2 = 3x<sup>2</sup> - 4x - 1. The sum is 5x<sup>2</sup> + 2. Notice that we omit the &quot;0x&quot; term.
+
 </pre>
 
 <p><strong class="example">Example 3:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> poly1 = [[1,2]], poly2 = [[-1,2]]
+
 <strong>Output:</strong> []
+
 <strong>Explanation:</strong> The sum is 0. We return an empty list.
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>0 &lt;= n &lt;= 10<sup>4</sup></code></li>
-	<li><code>-10<sup>9</sup>&nbsp;&lt;= PolyNode.coefficient &lt;= 10<sup>9</sup></code></li>
-	<li><code>PolyNode.coefficient != 0</code></li>
-	<li><code>0&nbsp;&lt;= PolyNode.power &lt;= 10<sup>9</sup></code></li>
-	<li><code>PolyNode.power &gt; PolyNode.next.power</code></li>
+
+    <li><code>0 &lt;= n &lt;= 10<sup>4</sup></code></li>
+
+    <li><code>-10<sup>9</sup>&nbsp;&lt;= PolyNode.coefficient &lt;= 10<sup>9</sup></code></li>
+
+    <li><code>PolyNode.coefficient != 0</code></li>
+
+    <li><code>0&nbsp;&lt;= PolyNode.power &lt;= 10<sup>9</sup></code></li>
+
+    <li><code>PolyNode.power &gt; PolyNode.next.power</code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1600-1699/1649.Create Sorted Array through Instructions/README_EN.md b/solution/1600-1699/1649.Create Sorted Array through Instructions/README_EN.md
index 429cfe2142d4e..d7708d65d82ee 100644
--- a/solution/1600-1699/1649.Create Sorted Array through Instructions/README_EN.md	
+++ b/solution/1600-1699/1649.Create Sorted Array through Instructions/README_EN.md	
@@ -27,8 +27,11 @@ tags:
 <p>Given an integer array <code>instructions</code>, you are asked to create a sorted array from the elements in <code>instructions</code>. You start with an empty container <code>nums</code>. For each element from <strong>left to right</strong> in <code>instructions</code>, insert it into <code>nums</code>. The <strong>cost</strong> of each insertion is the <b>minimum</b> of the following:</p>
 
 <ul>
-	<li>The number of elements currently in <code>nums</code> that are <strong>strictly less than</strong> <code>instructions[i]</code>.</li>
-	<li>The number of elements currently in <code>nums</code> that are <strong>strictly greater than</strong> <code>instructions[i]</code>.</li>
+
+    <li>The number of elements currently in <code>nums</code> that are <strong>strictly less than</strong> <code>instructions[i]</code>.</li>
+
+    <li>The number of elements currently in <code>nums</code> that are <strong>strictly greater than</strong> <code>instructions[i]</code>.</li>
+
 </ul>
 
 <p>For example, if inserting element <code>3</code> into <code>nums = [1,2,3,5]</code>, the <strong>cost</strong> of insertion is <code>min(2, 1)</code> (elements <code>1</code> and <code>2</code> are less than <code>3</code>, element <code>5</code> is greater than <code>3</code>) and <code>nums</code> will become <code>[1,2,3,3,5]</code>.</p>
@@ -36,57 +39,95 @@ tags:
 <p>Return <em>the <strong>total cost</strong> to insert all elements from </em><code>instructions</code><em> into </em><code>nums</code>. Since the answer may be large, return it <strong>modulo</strong> <code>10<sup>9</sup> + 7</code></p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> instructions = [1,5,6,2]
+
 <strong>Output:</strong> 1
+
 <strong>Explanation:</strong> Begin with nums = [].
+
 Insert 1 with cost min(0, 0) = 0, now nums = [1].
+
 Insert 5 with cost min(1, 0) = 0, now nums = [1,5].
+
 Insert 6 with cost min(2, 0) = 0, now nums = [1,5,6].
+
 Insert 2 with cost min(1, 2) = 1, now nums = [1,2,5,6].
+
 The total cost is 0 + 0 + 0 + 1 = 1.</pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> instructions = [1,2,3,6,5,4]
+
 <strong>Output:</strong> 3
+
 <strong>Explanation:</strong> Begin with nums = [].
+
 Insert 1 with cost min(0, 0) = 0, now nums = [1].
+
 Insert 2 with cost min(1, 0) = 0, now nums = [1,2].
+
 Insert 3 with cost min(2, 0) = 0, now nums = [1,2,3].
+
 Insert 6 with cost min(3, 0) = 0, now nums = [1,2,3,6].
+
 Insert 5 with cost min(3, 1) = 1, now nums = [1,2,3,5,6].
+
 Insert 4 with cost min(3, 2) = 2, now nums = [1,2,3,4,5,6].
+
 The total cost is 0 + 0 + 0 + 0 + 1 + 2 = 3.
+
 </pre>
 
 <p><strong class="example">Example 3:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> instructions = [1,3,3,3,2,4,2,1,2]
+
 <strong>Output:</strong> 4
+
 <strong>Explanation:</strong> Begin with nums = [].
+
 Insert 1 with cost min(0, 0) = 0, now nums = [1].
+
 Insert 3 with cost min(1, 0) = 0, now nums = [1,3].
+
 Insert 3 with cost min(1, 0) = 0, now nums = [1,3,3].
+
 Insert 3 with cost min(1, 0) = 0, now nums = [1,3,3,3].
+
 Insert 2 with cost min(1, 3) = 1, now nums = [1,2,3,3,3].
+
 Insert 4 with cost min(5, 0) = 0, now nums = [1,2,3,3,3,4].
+
 ​​​​​​​Insert 2 with cost min(1, 4) = 1, now nums = [1,2,2,3,3,3,4].
+
 ​​​​​​​Insert 1 with cost min(0, 6) = 0, now nums = [1,1,2,2,3,3,3,4].
+
 ​​​​​​​Insert 2 with cost min(2, 4) = 2, now nums = [1,1,2,2,2,3,3,3,4].
+
 The total cost is 0 + 0 + 0 + 0 + 1 + 0 + 1 + 0 + 2 = 4.
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= instructions.length &lt;= 10<sup>5</sup></code></li>
-	<li><code>1 &lt;= instructions[i] &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>1 &lt;= instructions.length &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>1 &lt;= instructions[i] &lt;= 10<sup>5</sup></code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1600-1699/1660.Correct a Binary Tree/README_EN.md b/solution/1600-1699/1660.Correct a Binary Tree/README_EN.md
index 4a5e058ed554d..4c4926392dd0d 100644
--- a/solution/1600-1699/1660.Correct a Binary Tree/README_EN.md	
+++ b/solution/1600-1699/1660.Correct a Binary Tree/README_EN.md	
@@ -29,22 +29,31 @@ tags:
 <p>The test input is read as 3 lines:</p>
 
 <ul>
-	<li><code>TreeNode root</code></li>
-	<li><code>int fromNode</code> (<strong>not available to </strong><code>correctBinaryTree</code>)</li>
-	<li><code>int toNode</code> (<strong>not available to </strong><code>correctBinaryTree</code>)</li>
+
+    <li><code>TreeNode root</code></li>
+
+    <li><code>int fromNode</code> (<strong>not available to </strong><code>correctBinaryTree</code>)</li>
+
+    <li><code>int toNode</code> (<strong>not available to </strong><code>correctBinaryTree</code>)</li>
+
 </ul>
 
 <p>After the binary tree rooted at <code>root</code> is parsed, the <code>TreeNode</code> with value of <code>fromNode</code> will have its right child pointer pointing to the <code>TreeNode</code> with a value of <code>toNode</code>. Then, <code>root</code> is passed to <code>correctBinaryTree</code>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <p><strong><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1600-1699/1660.Correct%20a%20Binary%20Tree/images/ex1v2.png" style="width: 250px; height: 177px;" /></strong></p>
 
 <pre>
+
 <strong>Input:</strong> root = [1,2,3], fromNode = 2, toNode = 3
+
 <strong>Output:</strong> [1,null,3]
+
 <strong>Explanation:</strong> The node with value 2 is invalid, so remove it.
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
@@ -52,22 +61,35 @@ tags:
 <p><strong><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1600-1699/1660.Correct%20a%20Binary%20Tree/images/ex2v3.png" style="width: 350px; height: 255px;" /></strong></p>
 
 <pre>
+
 <strong>Input:</strong> root = [8,3,1,7,null,9,4,2,null,null,null,5,6], fromNode = 7, toNode = 4
+
 <strong>Output:</strong> [8,3,1,null,null,9,4,null,null,5,6]
+
 <strong>Explanation:</strong> The node with value 7 is invalid, so remove it and the node underneath it, node 2.
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li>The number of nodes in the tree is in the range <code>[3, 10<sup>4</sup>]</code>.</li>
-	<li><code>-10<sup>9</sup> &lt;= Node.val &lt;= 10<sup>9</sup></code></li>
-	<li>All <code>Node.val</code> are <strong>unique</strong>.</li>
-	<li><code>fromNode != toNode</code></li>
-	<li><code>fromNode</code> and <code>toNode</code> will exist in the tree and will be on the same depth.</li>
-	<li><code>toNode</code> is to the <strong>right</strong> of <code>fromNode</code>.</li>
-	<li><code>fromNode.right</code> is <code>null</code> in the initial tree from the test data.</li>
+
+    <li>The number of nodes in the tree is in the range <code>[3, 10<sup>4</sup>]</code>.</li>
+
+    <li><code>-10<sup>9</sup> &lt;= Node.val &lt;= 10<sup>9</sup></code></li>
+
+    <li>All <code>Node.val</code> are <strong>unique</strong>.</li>
+
+    <li><code>fromNode != toNode</code></li>
+
+    <li><code>fromNode</code> and <code>toNode</code> will exist in the tree and will be on the same depth.</li>
+
+    <li><code>toNode</code> is to the <strong>right</strong> of <code>fromNode</code>.</li>
+
+    <li><code>fromNode.right</code> is <code>null</code> in the initial tree from the test data.</li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1700-1799/1725.Number Of Rectangles That Can Form The Largest Square/README_EN.md b/solution/1700-1799/1725.Number Of Rectangles That Can Form The Largest Square/README_EN.md
index cbb623295007f..34f00129f2a96 100644
--- a/solution/1700-1799/1725.Number Of Rectangles That Can Form The Largest Square/README_EN.md	
+++ b/solution/1700-1799/1725.Number Of Rectangles That Can Form The Largest Square/README_EN.md	
@@ -27,30 +27,45 @@ tags:
 <p>Return <em>the <strong>number</strong> of rectangles that can make a square with a side length of </em><code>maxLen</code>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> rectangles = [[5,8],[3,9],[5,12],[16,5]]
+
 <strong>Output:</strong> 3
+
 <strong>Explanation:</strong> The largest squares you can get from each rectangle are of lengths [5,3,5,5].
+
 The largest possible square is of length 5, and you can get it out of 3 rectangles.
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> rectangles = [[2,3],[3,7],[4,3],[3,7]]
+
 <strong>Output:</strong> 3
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= rectangles.length &lt;= 1000</code></li>
-	<li><code>rectangles[i].length == 2</code></li>
-	<li><code>1 &lt;= l<sub>i</sub>, w<sub>i</sub> &lt;= 10<sup>9</sup></code></li>
-	<li><code>l<sub>i</sub> != w<sub>i</sub></code></li>
+
+    <li><code>1 &lt;= rectangles.length &lt;= 1000</code></li>
+
+    <li><code>rectangles[i].length == 2</code></li>
+
+    <li><code>1 &lt;= l<sub>i</sub>, w<sub>i</sub> &lt;= 10<sup>9</sup></code></li>
+
+    <li><code>l<sub>i</sub> != w<sub>i</sub></code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1700-1799/1746.Maximum Subarray Sum After One Operation/README_EN.md b/solution/1700-1799/1746.Maximum Subarray Sum After One Operation/README_EN.md
index a96cde7d700f3..2ae33ffa3a49c 100644
--- a/solution/1700-1799/1746.Maximum Subarray Sum After One Operation/README_EN.md	
+++ b/solution/1700-1799/1746.Maximum Subarray Sum After One Operation/README_EN.md	
@@ -22,26 +22,37 @@ tags:
 <p>Return <em>the <strong>maximum</strong> possible subarray sum after <strong>exactly&nbsp;one</strong> operation</em>. The subarray must be non-empty.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [2,-1,-4,-3]
+
 <strong>Output:</strong> 17
+
 <strong>Explanation:</strong> You can perform the operation on index 2 (0-indexed) to make nums = [2,-1,<strong>16</strong>,-3]. Now, the maximum subarray sum is 2 + -1 + 16 = 17.</pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [1,-1,1,1,-1,-1,1]
+
 <strong>Output:</strong> 4
+
 <strong>Explanation:</strong> You can perform the operation on index 1 (0-indexed) to make nums = [1,<strong>1</strong>,1,1,-1,-1,1]. Now, the maximum subarray sum is 1 + 1 + 1 + 1 = 4.</pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= nums.length &lt;= 10<sup>5</sup></code></li>
-	<li><code>-10<sup>4</sup>&nbsp;&lt;= nums[i] &lt;= 10<sup>4</sup></code></li>
+
+    <li><code>1 &lt;= nums.length &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>-10<sup>4</sup>&nbsp;&lt;= nums[i] &lt;= 10<sup>4</sup></code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1700-1799/1768.Merge Strings Alternately/README_EN.md b/solution/1700-1799/1768.Merge Strings Alternately/README_EN.md
index 28ec43946435a..23f19bc99a475 100644
--- a/solution/1700-1799/1768.Merge Strings Alternately/README_EN.md	
+++ b/solution/1700-1799/1768.Merge Strings Alternately/README_EN.md	
@@ -24,45 +24,71 @@ tags:
 <p>Return <em>the merged string.</em></p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> word1 = &quot;abc&quot;, word2 = &quot;pqr&quot;
+
 <strong>Output:</strong> &quot;apbqcr&quot;
+
 <strong>Explanation:</strong>&nbsp;The merged string will be merged as so:
+
 word1:  a   b   c
+
 word2:    p   q   r
+
 merged: a p b q c r
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> word1 = &quot;ab&quot;, word2 = &quot;pqrs&quot;
+
 <strong>Output:</strong> &quot;apbqrs&quot;
+
 <strong>Explanation:</strong>&nbsp;Notice that as word2 is longer, &quot;rs&quot; is appended to the end.
+
 word1:  a   b 
+
 word2:    p   q   r   s
+
 merged: a p b q   r   s
+
 </pre>
 
 <p><strong class="example">Example 3:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> word1 = &quot;abcd&quot;, word2 = &quot;pq&quot;
+
 <strong>Output:</strong> &quot;apbqcd&quot;
+
 <strong>Explanation:</strong>&nbsp;Notice that as word1 is longer, &quot;cd&quot; is appended to the end.
+
 word1:  a   b   c   d
+
 word2:    p   q 
+
 merged: a p b q c   d
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= word1.length, word2.length &lt;= 100</code></li>
-	<li><code>word1</code> and <code>word2</code> consist of lowercase English letters.</li>
+
+    <li><code>1 &lt;= word1.length, word2.length &lt;= 100</code></li>
+
+    <li><code>word1</code> and <code>word2</code> consist of lowercase English letters.</li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1700-1799/1788.Maximize the Beauty of the Garden/README_EN.md b/solution/1700-1799/1788.Maximize the Beauty of the Garden/README_EN.md
index 8060248067a33..08179c3e044b3 100644
--- a/solution/1700-1799/1788.Maximize the Beauty of the Garden/README_EN.md	
+++ b/solution/1700-1799/1788.Maximize the Beauty of the Garden/README_EN.md	
@@ -24,8 +24,11 @@ tags:
 <p>A garden is <strong>valid</strong> if it meets these conditions:</p>
 
 <ul>
-	<li>The garden has at least two flowers.</li>
-	<li>The first and the last flower of the garden have the same beauty value.</li>
+
+    <li>The garden has at least two flowers.</li>
+
+    <li>The first and the last flower of the garden have the same beauty value.</li>
+
 </ul>
 
 <p>As the appointed gardener, you have the ability to <strong>remove</strong> any (possibly none) flowers from the garden. You want to remove flowers in a way that makes the remaining garden <strong>valid</strong>. The beauty of the garden is the sum of the beauty of all the remaining flowers.</p>
@@ -33,36 +36,53 @@ tags:
 <p>Return the maximum possible beauty of some <strong>valid</strong> garden after you have removed any (possibly none) flowers.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> flowers = [1,2,3,1,2]
+
 <strong>Output:</strong> 8
+
 <strong>Explanation:</strong> You can produce the valid garden [2,3,1,2] to have a total beauty of 2 + 3 + 1 + 2 = 8.</pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> flowers = [100,1,1,-3,1]
+
 <strong>Output:</strong> 3
+
 <strong>Explanation:</strong> You can produce the valid garden [1,1,1] to have a total beauty of 1 + 1 + 1 = 3.
+
 </pre>
 
 <p><strong class="example">Example 3:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> flowers = [-1,-2,0,-1]
+
 <strong>Output:</strong> -2
+
 <strong>Explanation:</strong> You can produce the valid garden [-1,-1] to have a total beauty of -1 + -1 = -2.
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>2 &lt;= flowers.length &lt;= 10<sup>5</sup></code></li>
-	<li><code>-10<sup>4</sup> &lt;= flowers[i] &lt;= 10<sup>4</sup></code></li>
-	<li>It is possible to create a valid garden by removing some (possibly none) flowers.</li>
+
+    <li><code>2 &lt;= flowers.length &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>-10<sup>4</sup> &lt;= flowers[i] &lt;= 10<sup>4</sup></code></li>
+
+    <li>It is possible to create a valid garden by removing some (possibly none) flowers.</li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1800-1899/1801.Number of Orders in the Backlog/README_EN.md b/solution/1800-1899/1801.Number of Orders in the Backlog/README_EN.md
index 858710a6203f7..fb8b1f0df8967 100644
--- a/solution/1800-1899/1801.Number of Orders in the Backlog/README_EN.md	
+++ b/solution/1800-1899/1801.Number of Orders in the Backlog/README_EN.md	
@@ -23,8 +23,11 @@ tags:
 <p>You are given a 2D integer array <code>orders</code>, where each <code>orders[i] = [price<sub>i</sub>, amount<sub>i</sub>, orderType<sub>i</sub>]</code> denotes that <code>amount<sub>i</sub></code><sub> </sub>orders have been placed of type <code>orderType<sub>i</sub></code> at the price <code>price<sub>i</sub></code>. The <code>orderType<sub>i</sub></code> is:</p>
 
 <ul>
-	<li><code>0</code> if it is a batch of <code>buy</code> orders, or</li>
-	<li><code>1</code> if it is a batch of <code>sell</code> orders.</li>
+
+    <li><code>0</code> if it is a batch of <code>buy</code> orders, or</li>
+
+    <li><code>1</code> if it is a batch of <code>sell</code> orders.</li>
+
 </ul>
 
 <p>Note that <code>orders[i]</code> represents a batch of <code>amount<sub>i</sub></code> independent orders with the same price and order type. All orders represented by <code>orders[i]</code> will be placed before all orders represented by <code>orders[i+1]</code> for all valid <code>i</code>.</p>
@@ -32,47 +35,79 @@ tags:
 <p>There is a <strong>backlog</strong> that consists of orders that have not been executed. The backlog is initially empty. When an order is placed, the following happens:</p>
 
 <ul>
-	<li>If the order is a <code>buy</code> order, you look at the <code>sell</code> order with the <strong>smallest</strong> price in the backlog. If that <code>sell</code> order&#39;s price is <strong>smaller than or equal to</strong> the current <code>buy</code> order&#39;s price, they will match and be executed, and that <code>sell</code> order will be removed from the backlog. Else, the <code>buy</code> order is added to the backlog.</li>
-	<li>Vice versa, if the order is a <code>sell</code> order, you look at the <code>buy</code> order with the <strong>largest</strong> price in the backlog. If that <code>buy</code> order&#39;s price is <strong>larger than or equal to</strong> the current <code>sell</code> order&#39;s price, they will match and be executed, and that <code>buy</code> order will be removed from the backlog. Else, the <code>sell</code> order is added to the backlog.</li>
+
+    <li>If the order is a <code>buy</code> order, you look at the <code>sell</code> order with the <strong>smallest</strong> price in the backlog. If that <code>sell</code> order&#39;s price is <strong>smaller than or equal to</strong> the current <code>buy</code> order&#39;s price, they will match and be executed, and that <code>sell</code> order will be removed from the backlog. Else, the <code>buy</code> order is added to the backlog.</li>
+
+    <li>Vice versa, if the order is a <code>sell</code> order, you look at the <code>buy</code> order with the <strong>largest</strong> price in the backlog. If that <code>buy</code> order&#39;s price is <strong>larger than or equal to</strong> the current <code>sell</code> order&#39;s price, they will match and be executed, and that <code>buy</code> order will be removed from the backlog. Else, the <code>sell</code> order is added to the backlog.</li>
+
 </ul>
 
 <p>Return <em>the total <strong>amount</strong> of orders in the backlog after placing all the orders from the input</em>. Since this number can be large, return it <strong>modulo</strong> <code>10<sup>9</sup> + 7</code>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
+
 <img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1800-1899/1801.Number%20of%20Orders%20in%20the%20Backlog/images/ex1.png" style="width: 450px; height: 479px;" />
+
 <pre>
+
 <strong>Input:</strong> orders = [[10,5,0],[15,2,1],[25,1,1],[30,4,0]]
+
 <strong>Output:</strong> 6
+
 <strong>Explanation:</strong> Here is what happens with the orders:
+
 - 5 orders of type buy with price 10 are placed. There are no sell orders, so the 5 orders are added to the backlog.
+
 - 2 orders of type sell with price 15 are placed. There are no buy orders with prices larger than or equal to 15, so the 2 orders are added to the backlog.
+
 - 1 order of type sell with price 25 is placed. There are no buy orders with prices larger than or equal to 25 in the backlog, so this order is added to the backlog.
+
 - 4 orders of type buy with price 30 are placed. The first 2 orders are matched with the 2 sell orders of the least price, which is 15 and these 2 sell orders are removed from the backlog. The 3<sup>rd</sup> order is matched with the sell order of the least price, which is 25 and this sell order is removed from the backlog. Then, there are no more sell orders in the backlog, so the 4<sup>th</sup> order is added to the backlog.
+
 Finally, the backlog has 5 buy orders with price 10, and 1 buy order with price 30. So the total number of orders in the backlog is 6.
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
+
 <img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1800-1899/1801.Number%20of%20Orders%20in%20the%20Backlog/images/ex2.png" style="width: 450px; height: 584px;" />
+
 <pre>
+
 <strong>Input:</strong> orders = [[7,1000000000,1],[15,3,0],[5,999999995,0],[5,1,1]]
+
 <strong>Output:</strong> 999999984
+
 <strong>Explanation:</strong> Here is what happens with the orders:
+
 - 10<sup>9</sup> orders of type sell with price 7 are placed. There are no buy orders, so the 10<sup>9</sup> orders are added to the backlog.
+
 - 3 orders of type buy with price 15 are placed. They are matched with the 3 sell orders with the least price which is 7, and those 3 sell orders are removed from the backlog.
+
 - 999999995 orders of type buy with price 5 are placed. The least price of a sell order is 7, so the 999999995 orders are added to the backlog.
+
 - 1 order of type sell with price 5 is placed. It is matched with the buy order of the highest price, which is 5, and that buy order is removed from the backlog.
+
 Finally, the backlog has (1000000000-3) sell orders with price 7, and (999999995-1) buy orders with price 5. So the total number of orders = 1999999991, which is equal to 999999984 % (10<sup>9</sup> + 7).
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= orders.length &lt;= 10<sup>5</sup></code></li>
-	<li><code>orders[i].length == 3</code></li>
-	<li><code>1 &lt;= price<sub>i</sub>, amount<sub>i</sub> &lt;= 10<sup>9</sup></code></li>
-	<li><code>orderType<sub>i</sub></code> is either <code>0</code> or <code>1</code>.</li>
+
+    <li><code>1 &lt;= orders.length &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>orders[i].length == 3</code></li>
+
+    <li><code>1 &lt;= price<sub>i</sub>, amount<sub>i</sub> &lt;= 10<sup>9</sup></code></li>
+
+    <li><code>orderType<sub>i</sub></code> is either <code>0</code> or <code>1</code>.</li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1800-1899/1803.Count Pairs With XOR in a Range/README_EN.md b/solution/1800-1899/1803.Count Pairs With XOR in a Range/README_EN.md
index 71d734e8f7114..b2f0cba2a3268 100644
--- a/solution/1800-1899/1803.Count Pairs With XOR in a Range/README_EN.md	
+++ b/solution/1800-1899/1803.Count Pairs With XOR in a Range/README_EN.md	
@@ -25,42 +25,69 @@ tags:
 <p>A <strong>nice pair</strong> is a pair <code>(i, j)</code> where <code>0 &lt;= i &lt; j &lt; nums.length</code> and <code>low &lt;= (nums[i] XOR nums[j]) &lt;= high</code>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [1,4,2,7], low = 2, high = 6
+
 <strong>Output:</strong> 6
+
 <strong>Explanation:</strong> All nice pairs (i, j) are as follows:
+
     - (0, 1): nums[0] XOR nums[1] = 5 
+
     - (0, 2): nums[0] XOR nums[2] = 3
+
     - (0, 3): nums[0] XOR nums[3] = 6
+
     - (1, 2): nums[1] XOR nums[2] = 6
+
     - (1, 3): nums[1] XOR nums[3] = 3
+
     - (2, 3): nums[2] XOR nums[3] = 5
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [9,8,4,2,1], low = 5, high = 14
+
 <strong>Output:</strong> 8
+
 <strong>Explanation:</strong> All nice pairs (i, j) are as follows:
+
 ​​​​​    - (0, 2): nums[0] XOR nums[2] = 13
+
 &nbsp;   - (0, 3): nums[0] XOR nums[3] = 11
+
 &nbsp;   - (0, 4): nums[0] XOR nums[4] = 8
+
 &nbsp;   - (1, 2): nums[1] XOR nums[2] = 12
+
 &nbsp;   - (1, 3): nums[1] XOR nums[3] = 10
+
 &nbsp;   - (1, 4): nums[1] XOR nums[4] = 9
+
 &nbsp;   - (2, 3): nums[2] XOR nums[3] = 6
+
 &nbsp;   - (2, 4): nums[2] XOR nums[4] = 5</pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= nums.length &lt;= 2 * 10<sup>4</sup></code></li>
-	<li><code>1 &lt;= nums[i] &lt;= 2 * 10<sup>4</sup></code></li>
-	<li><code>1 &lt;= low &lt;= high &lt;= 2 * 10<sup>4</sup></code></li>
+
+    <li><code>1 &lt;= nums.length &lt;= 2 * 10<sup>4</sup></code></li>
+
+    <li><code>1 &lt;= nums[i] &lt;= 2 * 10<sup>4</sup></code></li>
+
+    <li><code>1 &lt;= low &lt;= high &lt;= 2 * 10<sup>4</sup></code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1800-1899/1808.Maximize Number of Nice Divisors/README_EN.md b/solution/1800-1899/1808.Maximize Number of Nice Divisors/README_EN.md
index 043890fcacd1a..d114a92da494e 100644
--- a/solution/1800-1899/1808.Maximize Number of Nice Divisors/README_EN.md	
+++ b/solution/1800-1899/1808.Maximize Number of Nice Divisors/README_EN.md	
@@ -23,8 +23,11 @@ tags:
 <p>You are given a positive integer <code>primeFactors</code>. You are asked to construct a positive integer <code>n</code> that satisfies the following conditions:</p>
 
 <ul>
+
   <li>The number of prime factors of <code>n</code> (not necessarily distinct) is <strong>at most</strong> <code>primeFactors</code>.</li>
+
   <li>The number of nice divisors of <code>n</code> is maximized. Note that a divisor of <code>n</code> is <strong>nice</strong> if it is divisible by every prime factor of <code>n</code>. For example, if <code>n = 12</code>, then its prime factors are <code>[2,2,3]</code>, then <code>6</code> and <code>12</code> are nice divisors, while <code>3</code> and <code>4</code> are not.</li>
+
 </ul>
 
 <p>Return <em>the number of nice divisors of</em> <code>n</code>. Since that number can be too large, return it <strong>modulo</strong> <code>10<sup>9</sup> + 7</code>.</p>
@@ -32,28 +35,41 @@ tags:
 <p>Note that a prime number is a natural number greater than <code>1</code> that is not a product of two smaller natural numbers. The prime factors of a number <code>n</code> is a list of prime numbers such that their product equals <code>n</code>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> primeFactors = 5
+
 <strong>Output:</strong> 6
+
 <strong>Explanation:</strong> 200 is a valid value of n.
+
 It has 5 prime factors: [2,2,2,5,5], and it has 6 nice divisors: [10,20,40,50,100,200].
+
 There is not other value of n that has at most 5 prime factors and more nice divisors.
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> primeFactors = 8
+
 <strong>Output:</strong> 18
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= primeFactors &lt;= 10<sup>9</sup></code></li>
+
+    <li><code>1 &lt;= primeFactors &lt;= 10<sup>9</sup></code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1800-1899/1827.Minimum Operations to Make the Array Increasing/README_EN.md b/solution/1800-1899/1827.Minimum Operations to Make the Array Increasing/README_EN.md
index af4a7cf20dd88..979e584e8350d 100644
--- a/solution/1800-1899/1827.Minimum Operations to Make the Array Increasing/README_EN.md	
+++ b/solution/1800-1899/1827.Minimum Operations to Make the Array Increasing/README_EN.md	
@@ -22,7 +22,9 @@ tags:
 <p>You are given an integer array <code>nums</code> (<strong>0-indexed</strong>). In one operation, you can choose an element of the array and increment it by <code>1</code>.</p>
 
 <ul>
-	<li>For example, if <code>nums = [1,2,3]</code>, you can choose to increment <code>nums[1]</code> to make <code>nums = [1,<u><b>3</b></u>,3]</code>.</li>
+
+    <li>For example, if <code>nums = [1,2,3]</code>, you can choose to increment <code>nums[1]</code> to make <code>nums = [1,<u><b>3</b></u>,3]</code>.</li>
+
 </ul>
 
 <p>Return <em>the <strong>minimum</strong> number of operations needed to make</em> <code>nums</code> <em><strong>strictly</strong> <strong>increasing</strong>.</em></p>
@@ -30,37 +32,55 @@ tags:
 <p>An array <code>nums</code> is <strong>strictly increasing</strong> if <code>nums[i] &lt; nums[i+1]</code> for all <code>0 &lt;= i &lt; nums.length - 1</code>. An array of length <code>1</code> is trivially strictly increasing.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [1,1,1]
+
 <strong>Output:</strong> 3
+
 <strong>Explanation:</strong> You can do the following operations:
+
 1) Increment nums[2], so nums becomes [1,1,<u><strong>2</strong></u>].
+
 2) Increment nums[1], so nums becomes [1,<u><strong>2</strong></u>,2].
+
 3) Increment nums[2], so nums becomes [1,2,<u><strong>3</strong></u>].
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [1,5,2,4,1]
+
 <strong>Output:</strong> 14
+
 </pre>
 
 <p><strong class="example">Example 3:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [8]
+
 <strong>Output:</strong> 0
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= nums.length &lt;= 5000</code></li>
-	<li><code>1 &lt;= nums[i] &lt;= 10<sup>4</sup></code></li>
+
+    <li><code>1 &lt;= nums.length &lt;= 5000</code></li>
+
+    <li><code>1 &lt;= nums[i] &lt;= 10<sup>4</sup></code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1800-1899/1836.Remove Duplicates From an Unsorted Linked List/README_EN.md b/solution/1800-1899/1836.Remove Duplicates From an Unsorted Linked List/README_EN.md
index 22fb099044ee4..e1c623dee2b31 100644
--- a/solution/1800-1899/1836.Remove Duplicates From an Unsorted Linked List/README_EN.md	
+++ b/solution/1800-1899/1836.Remove Duplicates From an Unsorted Linked List/README_EN.md	
@@ -22,36 +22,59 @@ tags:
 <p>Return <em>the linked list after the deletions.</em></p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
+
 <img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1800-1899/1836.Remove%20Duplicates%20From%20an%20Unsorted%20Linked%20List/images/tmp-linked-list.jpg" style="width: 422px; height: 222px;" />
+
 <pre>
+
 <strong>Input:</strong> head = [1,2,3,2]
+
 <strong>Output:</strong> [1,3]
+
 <strong>Explanation:</strong> 2 appears twice in the linked list, so all 2&#39;s should be deleted. After deleting all 2&#39;s, we are left with [1,3].
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
+
 <img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1800-1899/1836.Remove%20Duplicates%20From%20an%20Unsorted%20Linked%20List/images/tmp-linked-list-1.jpg" style="width: 422px; height: 151px;" />
+
 <pre>
+
 <strong>Input:</strong> head = [2,1,1,2]
+
 <strong>Output:</strong> []
+
 <strong>Explanation:</strong> 2 and 1 both appear twice. All the elements should be deleted.
+
 </pre>
 
 <p><strong class="example">Example 3:</strong></p>
+
 <img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1800-1899/1836.Remove%20Duplicates%20From%20an%20Unsorted%20Linked%20List/images/tmp-linked-list-2.jpg" style="width: 500px; height: 142px;" />
+
 <pre>
+
 <strong>Input:</strong> head = [3,2,2,1,3,2,4]
+
 <strong>Output:</strong> [1,4]
+
 <strong>Explanation: </strong>3 appears twice and 2 appears three times. After deleting all 3&#39;s and 2&#39;s, we are left with [1,4].
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li>The number of nodes in the list is in the range&nbsp;<code>[1, 10<sup>5</sup>]</code></li>
-	<li><code>1 &lt;= Node.val &lt;= 10<sup>5</sup></code></li>
+
+    <li>The number of nodes in the list is in the range&nbsp;<code>[1, 10<sup>5</sup>]</code></li>
+
+    <li><code>1 &lt;= Node.val &lt;= 10<sup>5</sup></code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1800-1899/1857.Largest Color Value in a Directed Graph/README_EN.md b/solution/1800-1899/1857.Largest Color Value in a Directed Graph/README_EN.md
index 0aba7a5ebe9a4..d90b69df177ce 100644
--- a/solution/1800-1899/1857.Largest Color Value in a Directed Graph/README_EN.md	
+++ b/solution/1800-1899/1857.Largest Color Value in a Directed Graph/README_EN.md	
@@ -32,14 +32,19 @@ tags:
 <p>Return <em>the <strong>largest color value</strong> of any valid path in the given graph, or </em><code>-1</code><em> if the graph contains a cycle</em>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1800-1899/1857.Largest%20Color%20Value%20in%20a%20Directed%20Graph/images/leet1.png" style="width: 400px; height: 182px;" /></p>
 
 <pre>
+
 <strong>Input:</strong> colors = &quot;abaca&quot;, edges = [[0,1],[0,2],[2,3],[3,4]]
+
 <strong>Output:</strong> 3
+
 <strong>Explanation:</strong> The path 0 -&gt; 2 -&gt; 3 -&gt; 4 contains 3 nodes that are colored <code>&quot;a&quot; (red in the above image)</code>.
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
@@ -47,21 +52,33 @@ tags:
 <p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1800-1899/1857.Largest%20Color%20Value%20in%20a%20Directed%20Graph/images/leet2.png" style="width: 85px; height: 85px;" /></p>
 
 <pre>
+
 <strong>Input:</strong> colors = &quot;a&quot;, edges = [[0,0]]
+
 <strong>Output:</strong> -1
+
 <strong>Explanation:</strong> There is a cycle from 0 to 0.
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>n == colors.length</code></li>
-	<li><code>m == edges.length</code></li>
-	<li><code>1 &lt;= n &lt;= 10<sup>5</sup></code></li>
-	<li><code>0 &lt;= m &lt;= 10<sup>5</sup></code></li>
-	<li><code>colors</code> consists of lowercase English letters.</li>
-	<li><code>0 &lt;= a<sub>j</sub>, b<sub>j</sub>&nbsp;&lt; n</code></li>
+
+    <li><code>n == colors.length</code></li>
+
+    <li><code>m == edges.length</code></li>
+
+    <li><code>1 &lt;= n &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>0 &lt;= m &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>colors</code> consists of lowercase English letters.</li>
+
+    <li><code>0 &lt;= a<sub>j</sub>, b<sub>j</sub>&nbsp;&lt; n</code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1800-1899/1872.Stone Game VIII/README_EN.md b/solution/1800-1899/1872.Stone Game VIII/README_EN.md
index fc84b32817c0f..db273764cb33b 100644
--- a/solution/1800-1899/1872.Stone Game VIII/README_EN.md	
+++ b/solution/1800-1899/1872.Stone Game VIII/README_EN.md	
@@ -27,9 +27,13 @@ tags:
 <p>There are <code>n</code> stones arranged in a row. On each player&#39;s turn, while the number of stones is <strong>more than one</strong>, they will do the following:</p>
 
 <ol>
-	<li>Choose an integer <code>x &gt; 1</code>, and <strong>remove</strong> the leftmost <code>x</code> stones from the row.</li>
-	<li>Add the <strong>sum</strong> of the <strong>removed</strong> stones&#39; values to the player&#39;s score.</li>
-	<li>Place a <strong>new stone</strong>, whose value is equal to that sum, on the left side of the row.</li>
+
+    <li>Choose an integer <code>x &gt; 1</code>, and <strong>remove</strong> the leftmost <code>x</code> stones from the row.</li>
+
+    <li>Add the <strong>sum</strong> of the <strong>removed</strong> stones&#39; values to the player&#39;s score.</li>
+
+    <li>Place a <strong>new stone</strong>, whose value is equal to that sum, on the left side of the row.</li>
+
 </ol>
 
 <p>The game stops when <strong>only</strong> <strong>one</strong> stone is left in the row.</p>
@@ -39,48 +43,77 @@ tags:
 <p>Given an integer array <code>stones</code> of length <code>n</code> where <code>stones[i]</code> represents the value of the <code>i<sup>th</sup></code> stone <strong>from the left</strong>, return <em>the <strong>score difference</strong> between Alice and Bob if they both play <strong>optimally</strong>.</em></p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> stones = [-1,2,-3,4,-5]
+
 <strong>Output:</strong> 5
+
 <strong>Explanation:</strong>
+
 - Alice removes the first 4 stones, adds (-1) + 2 + (-3) + 4 = 2 to her score, and places a stone of
+
   value 2 on the left. stones = [2,-5].
+
 - Bob removes the first 2 stones, adds 2 + (-5) = -3 to his score, and places a stone of value -3 on
+
   the left. stones = [-3].
+
 The difference between their scores is 2 - (-3) = 5.
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> stones = [7,-6,5,10,5,-2,-6]
+
 <strong>Output:</strong> 13
+
 <strong>Explanation:</strong>
+
 - Alice removes all stones, adds 7 + (-6) + 5 + 10 + 5 + (-2) + (-6) = 13 to her score, and places a
+
   stone of value 13 on the left. stones = [13].
+
 The difference between their scores is 13 - 0 = 13.
+
 </pre>
 
 <p><strong class="example">Example 3:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> stones = [-10,-12]
+
 <strong>Output:</strong> -22
+
 <strong>Explanation:</strong>
+
 - Alice can only make one move, which is to remove both stones. She adds (-10) + (-12) = -22 to her
+
   score and places a stone of value -22 on the left. stones = [-22].
+
 The difference between their scores is (-22) - 0 = -22.
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>n == stones.length</code></li>
-	<li><code>2 &lt;= n &lt;= 10<sup>5</sup></code></li>
-	<li><code>-10<sup>4</sup> &lt;= stones[i] &lt;= 10<sup>4</sup></code></li>
+
+    <li><code>n == stones.length</code></li>
+
+    <li><code>2 &lt;= n &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>-10<sup>4</sup> &lt;= stones[i] &lt;= 10<sup>4</sup></code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1800-1899/1874.Minimize Product Sum of Two Arrays/README_EN.md b/solution/1800-1899/1874.Minimize Product Sum of Two Arrays/README_EN.md
index a072d1144acd3..f4db46805a1ca 100644
--- a/solution/1800-1899/1874.Minimize Product Sum of Two Arrays/README_EN.md	
+++ b/solution/1800-1899/1874.Minimize Product Sum of Two Arrays/README_EN.md	
@@ -21,35 +21,51 @@ tags:
 <p>The <b>product sum </b>of two equal-length arrays <code>a</code> and <code>b</code> is equal to the sum of <code>a[i] * b[i]</code> for all <code>0 &lt;= i &lt; a.length</code> (<strong>0-indexed</strong>).</p>
 
 <ul>
-	<li>For example, if <code>a = [1,2,3,4]</code> and <code>b = [5,2,3,1]</code>, the <strong>product sum</strong> would be <code>1*5 + 2*2 + 3*3 + 4*1 = 22</code>.</li>
+
+    <li>For example, if <code>a = [1,2,3,4]</code> and <code>b = [5,2,3,1]</code>, the <strong>product sum</strong> would be <code>1*5 + 2*2 + 3*3 + 4*1 = 22</code>.</li>
+
 </ul>
 
 <p>Given two arrays <code>nums1</code> and <code>nums2</code> of length <code>n</code>, return <em>the <strong>minimum product sum</strong> if you are allowed to <strong>rearrange</strong> the <strong>order</strong> of the elements in </em><code>nums1</code>.&nbsp;</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums1 = [5,3,4,2], nums2 = [4,2,2,5]
+
 <strong>Output:</strong> 40
+
 <strong>Explanation:</strong>&nbsp;We can rearrange nums1 to become [3,5,4,2]. The product sum of [3,5,4,2] and [4,2,2,5] is 3*4 + 5*2 + 4*2 + 2*5 = 40.
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums1 = [2,1,4,5,7], nums2 = [3,2,4,8,6]
+
 <strong>Output:</strong> 65
+
 <strong>Explanation: </strong>We can rearrange nums1 to become [5,7,4,1,2]. The product sum of [5,7,4,1,2] and [3,2,4,8,6] is 5*3 + 7*2 + 4*4 + 1*8 + 2*6 = 65.
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>n == nums1.length == nums2.length</code></li>
-	<li><code>1 &lt;= n &lt;= 10<sup>5</sup></code></li>
-	<li><code>1 &lt;= nums1[i], nums2[i] &lt;= 100</code></li>
+
+    <li><code>n == nums1.length == nums2.length</code></li>
+
+    <li><code>1 &lt;= n &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>1 &lt;= nums1[i], nums2[i] &lt;= 100</code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1800-1899/1877.Minimize Maximum Pair Sum in Array/README_EN.md b/solution/1800-1899/1877.Minimize Maximum Pair Sum in Array/README_EN.md
index 929c483956728..4e50827246f87 100644
--- a/solution/1800-1899/1877.Minimize Maximum Pair Sum in Array/README_EN.md	
+++ b/solution/1800-1899/1877.Minimize Maximum Pair Sum in Array/README_EN.md	
@@ -24,45 +24,67 @@ tags:
 <p>The <strong>pair sum</strong> of a pair <code>(a,b)</code> is equal to <code>a + b</code>. The <strong>maximum pair sum</strong> is the largest <strong>pair sum</strong> in a list of pairs.</p>
 
 <ul>
-	<li>For example, if we have pairs <code>(1,5)</code>, <code>(2,3)</code>, and <code>(4,4)</code>, the <strong>maximum pair sum</strong> would be <code>max(1+5, 2+3, 4+4) = max(6, 5, 8) = 8</code>.</li>
+
+    <li>For example, if we have pairs <code>(1,5)</code>, <code>(2,3)</code>, and <code>(4,4)</code>, the <strong>maximum pair sum</strong> would be <code>max(1+5, 2+3, 4+4) = max(6, 5, 8) = 8</code>.</li>
+
 </ul>
 
 <p>Given an array <code>nums</code> of <strong>even</strong> length <code>n</code>, pair up the elements of <code>nums</code> into <code>n / 2</code> pairs such that:</p>
 
 <ul>
-	<li>Each element of <code>nums</code> is in <strong>exactly one</strong> pair, and</li>
-	<li>The <strong>maximum pair sum </strong>is <strong>minimized</strong>.</li>
+
+    <li>Each element of <code>nums</code> is in <strong>exactly one</strong> pair, and</li>
+
+    <li>The <strong>maximum pair sum </strong>is <strong>minimized</strong>.</li>
+
 </ul>
 
 <p>Return <em>the minimized <strong>maximum pair sum</strong> after optimally pairing up the elements</em>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [3,5,2,3]
+
 <strong>Output:</strong> 7
+
 <strong>Explanation:</strong> The elements can be paired up into pairs (3,3) and (5,2).
+
 The maximum pair sum is max(3+3, 5+2) = max(6, 7) = 7.
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [3,5,4,2,4,6]
+
 <strong>Output:</strong> 8
+
 <strong>Explanation:</strong> The elements can be paired up into pairs (3,5), (4,4), and (6,2).
+
 The maximum pair sum is max(3+5, 4+4, 6+2) = max(8, 8, 8) = 8.
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>n == nums.length</code></li>
-	<li><code>2 &lt;= n &lt;= 10<sup>5</sup></code></li>
-	<li><code>n</code> is <strong>even</strong>.</li>
-	<li><code>1 &lt;= nums[i] &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>n == nums.length</code></li>
+
+    <li><code>2 &lt;= n &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>n</code> is <strong>even</strong>.</li>
+
+    <li><code>1 &lt;= nums[i] &lt;= 10<sup>5</sup></code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1900-1999/1911.Maximum Alternating Subsequence Sum/README_EN.md b/solution/1900-1999/1911.Maximum Alternating Subsequence Sum/README_EN.md
index ecc7532e55269..76cda62341188 100644
--- a/solution/1900-1999/1911.Maximum Alternating Subsequence Sum/README_EN.md	
+++ b/solution/1900-1999/1911.Maximum Alternating Subsequence Sum/README_EN.md	
@@ -22,47 +22,67 @@ tags:
 <p>The <strong>alternating sum</strong> of a <strong>0-indexed</strong> array is defined as the <strong>sum</strong> of the elements at <strong>even</strong> indices <strong>minus</strong> the <strong>sum</strong> of the elements at <strong>odd</strong> indices.</p>
 
 <ul>
-	<li>For example, the alternating sum of <code>[4,2,5,3]</code> is <code>(4 + 5) - (2 + 3) = 4</code>.</li>
+
+    <li>For example, the alternating sum of <code>[4,2,5,3]</code> is <code>(4 + 5) - (2 + 3) = 4</code>.</li>
+
 </ul>
 
 <p>Given an array <code>nums</code>, return <em>the <strong>maximum alternating sum</strong> of any subsequence of </em><code>nums</code><em> (after <strong>reindexing</strong> the elements of the subsequence)</em>.</p>
 
 <ul>
+
 </ul>
 
 <p>A <strong>subsequence</strong> of an array is a new array generated from the original array by deleting some elements (possibly none) without changing the remaining elements&#39; relative order. For example, <code>[2,7,4]</code> is a subsequence of <code>[4,<u>2</u>,3,<u>7</u>,2,1,<u>4</u>]</code> (the underlined elements), while <code>[2,4,2]</code> is not.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [<u>4</u>,<u>2</u>,<u>5</u>,3]
+
 <strong>Output:</strong> 7
+
 <strong>Explanation:</strong> It is optimal to choose the subsequence [4,2,5] with alternating sum (4 + 5) - 2 = 7.
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [5,6,7,<u>8</u>]
+
 <strong>Output:</strong> 8
+
 <strong>Explanation:</strong> It is optimal to choose the subsequence [8] with alternating sum 8.
+
 </pre>
 
 <p><strong class="example">Example 3:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [<u>6</u>,2,<u>1</u>,2,4,<u>5</u>]
+
 <strong>Output:</strong> 10
+
 <strong>Explanation:</strong> It is optimal to choose the subsequence [6,1,5] with alternating sum (6 + 5) - 1 = 10.
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= nums.length &lt;= 10<sup>5</sup></code></li>
-	<li><code>1 &lt;= nums[i] &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>1 &lt;= nums.length &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>1 &lt;= nums[i] &lt;= 10<sup>5</sup></code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1900-1999/1913.Maximum Product Difference Between Two Pairs/README_EN.md b/solution/1900-1999/1913.Maximum Product Difference Between Two Pairs/README_EN.md
index de2987a86b5c6..806f7cb640d4f 100644
--- a/solution/1900-1999/1913.Maximum Product Difference Between Two Pairs/README_EN.md	
+++ b/solution/1900-1999/1913.Maximum Product Difference Between Two Pairs/README_EN.md	
@@ -22,7 +22,9 @@ tags:
 <p>The <strong>product difference</strong> between two pairs <code>(a, b)</code> and <code>(c, d)</code> is defined as <code>(a * b) - (c * d)</code>.</p>
 
 <ul>
-	<li>For example, the product difference between <code>(5, 6)</code> and <code>(2, 7)</code> is <code>(5 * 6) - (2 * 7) = 16</code>.</li>
+
+    <li>For example, the product difference between <code>(5, 6)</code> and <code>(2, 7)</code> is <code>(5 * 6) - (2 * 7) = 16</code>.</li>
+
 </ul>
 
 <p>Given an integer array <code>nums</code>, choose four <strong>distinct</strong> indices <code>w</code>, <code>x</code>, <code>y</code>, and <code>z</code> such that the <strong>product difference</strong> between pairs <code>(nums[w], nums[x])</code> and <code>(nums[y], nums[z])</code> is <strong>maximized</strong>.</p>
@@ -30,30 +32,45 @@ tags:
 <p>Return <em>the <strong>maximum</strong> such product difference</em>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [5,6,2,7,4]
+
 <strong>Output:</strong> 34
+
 <strong>Explanation:</strong> We can choose indices 1 and 3 for the first pair (6, 7) and indices 2 and 4 for the second pair (2, 4).
+
 The product difference is (6 * 7) - (2 * 4) = 34.
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> nums = [4,2,5,9,7,4,8]
+
 <strong>Output:</strong> 64
+
 <strong>Explanation:</strong> We can choose indices 3 and 6 for the first pair (9, 8) and indices 1 and 5 for the second pair (2, 4).
+
 The product difference is (9 * 8) - (2 * 4) = 64.
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>4 &lt;= nums.length &lt;= 10<sup>4</sup></code></li>
-	<li><code>1 &lt;= nums[i] &lt;= 10<sup>4</sup></code></li>
+
+    <li><code>4 &lt;= nums.length &lt;= 10<sup>4</sup></code></li>
+
+    <li><code>1 &lt;= nums[i] &lt;= 10<sup>4</sup></code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1900-1999/1914.Cyclically Rotating a Grid/README_EN.md b/solution/1900-1999/1914.Cyclically Rotating a Grid/README_EN.md
index fae78135d2d47..2b5a5d14a34c7 100644
--- a/solution/1900-1999/1914.Cyclically Rotating a Grid/README_EN.md	
+++ b/solution/1900-1999/1914.Cyclically Rotating a Grid/README_EN.md	
@@ -27,37 +27,59 @@ tags:
 <p><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1900-1999/1914.Cyclically%20Rotating%20a%20Grid/images/ringofgrid.png" style="width: 231px; height: 258px;" /></p>
 
 <p>A cyclic rotation of the matrix is done by cyclically rotating <strong>each layer</strong> in the matrix. To cyclically rotate a layer once, each element in the layer will take the place of the adjacent element in the <strong>counter-clockwise</strong> direction. An example rotation is shown below:</p>
+
 <img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1900-1999/1914.Cyclically%20Rotating%20a%20Grid/images/explanation_grid.jpg" style="width: 500px; height: 268px;" />
+
 <p>Return <em>the matrix after applying </em><code>k</code> <em>cyclic rotations to it</em>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
+
 <img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1900-1999/1914.Cyclically%20Rotating%20a%20Grid/images/rod2.png" style="width: 421px; height: 191px;" />
+
 <pre>
+
 <strong>Input:</strong> grid = [[40,10],[30,20]], k = 1
+
 <strong>Output:</strong> [[10,20],[40,30]]
+
 <strong>Explanation:</strong> The figures above represent the grid at every state.
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
+
 <strong><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1900-1999/1914.Cyclically%20Rotating%20a%20Grid/images/ringofgrid5.png" style="width: 231px; height: 262px;" /></strong> <strong><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1900-1999/1914.Cyclically%20Rotating%20a%20Grid/images/ringofgrid6.png" style="width: 231px; height: 262px;" /></strong> <strong><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1900-1999/1914.Cyclically%20Rotating%20a%20Grid/images/ringofgrid7.png" style="width: 231px; height: 262px;" /></strong>
 
 <pre>
+
 <strong>Input:</strong> grid = [[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,16]], k = 2
+
 <strong>Output:</strong> [[3,4,8,12],[2,11,10,16],[1,7,6,15],[5,9,13,14]]
+
 <strong>Explanation:</strong> The figures above represent the grid at every state.
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>m == grid.length</code></li>
-	<li><code>n == grid[i].length</code></li>
-	<li><code>2 &lt;= m, n &lt;= 50</code></li>
-	<li>Both <code>m</code> and <code>n</code> are <strong>even</strong> integers.</li>
-	<li><code>1 &lt;= grid[i][j] &lt;=<sup> </sup>5000</code></li>
-	<li><code>1 &lt;= k &lt;= 10<sup>9</sup></code></li>
+
+    <li><code>m == grid.length</code></li>
+
+    <li><code>n == grid[i].length</code></li>
+
+    <li><code>2 &lt;= m, n &lt;= 50</code></li>
+
+    <li>Both <code>m</code> and <code>n</code> are <strong>even</strong> integers.</li>
+
+    <li><code>1 &lt;= grid[i][j] &lt;=<sup> </sup>5000</code></li>
+
+    <li><code>1 &lt;= k &lt;= 10<sup>9</sup></code></li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1900-1999/1915.Number of Wonderful Substrings/README_EN.md b/solution/1900-1999/1915.Number of Wonderful Substrings/README_EN.md
index 1db1ec7914388..e6048268f5cc4 100644
--- a/solution/1900-1999/1915.Number of Wonderful Substrings/README_EN.md	
+++ b/solution/1900-1999/1915.Number of Wonderful Substrings/README_EN.md	
@@ -24,7 +24,9 @@ tags:
 <p>A <strong>wonderful</strong> string is a string where <strong>at most one</strong> letter appears an <strong>odd</strong> number of times.</p>
 
 <ul>
-	<li>For example, <code>&quot;ccjjc&quot;</code> and <code>&quot;abab&quot;</code> are wonderful, but <code>&quot;ab&quot;</code> is not.</li>
+
+    <li>For example, <code>&quot;ccjjc&quot;</code> and <code>&quot;abab&quot;</code> are wonderful, but <code>&quot;ab&quot;</code> is not.</li>
+
 </ul>
 
 <p>Given a string <code>word</code> that consists of the first ten lowercase English letters (<code>&#39;a&#39;</code> through <code>&#39;j&#39;</code>), return <em>the <strong>number of wonderful non-empty substrings</strong> in </em><code>word</code><em>. If the same substring appears multiple times in </em><code>word</code><em>, then count <strong>each occurrence</strong> separately.</em></p>
@@ -32,51 +34,83 @@ tags:
 <p>A <strong>substring</strong> is a contiguous sequence of characters in a string.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> word = &quot;aba&quot;
+
 <strong>Output:</strong> 4
+
 <strong>Explanation:</strong> The four wonderful substrings are underlined below:
+
 - &quot;<u><strong>a</strong></u>ba&quot; -&gt; &quot;a&quot;
+
 - &quot;a<u><strong>b</strong></u>a&quot; -&gt; &quot;b&quot;
+
 - &quot;ab<u><strong>a</strong></u>&quot; -&gt; &quot;a&quot;
+
 - &quot;<u><strong>aba</strong></u>&quot; -&gt; &quot;aba&quot;
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> word = &quot;aabb&quot;
+
 <strong>Output:</strong> 9
+
 <strong>Explanation:</strong> The nine wonderful substrings are underlined below:
+
 - &quot;<strong><u>a</u></strong>abb&quot; -&gt; &quot;a&quot;
+
 - &quot;<u><strong>aa</strong></u>bb&quot; -&gt; &quot;aa&quot;
+
 - &quot;<u><strong>aab</strong></u>b&quot; -&gt; &quot;aab&quot;
+
 - &quot;<u><strong>aabb</strong></u>&quot; -&gt; &quot;aabb&quot;
+
 - &quot;a<u><strong>a</strong></u>bb&quot; -&gt; &quot;a&quot;
+
 - &quot;a<u><strong>abb</strong></u>&quot; -&gt; &quot;abb&quot;
+
 - &quot;aa<u><strong>b</strong></u>b&quot; -&gt; &quot;b&quot;
+
 - &quot;aa<u><strong>bb</strong></u>&quot; -&gt; &quot;bb&quot;
+
 - &quot;aab<u><strong>b</strong></u>&quot; -&gt; &quot;b&quot;
+
 </pre>
 
 <p><strong class="example">Example 3:</strong></p>
 
 <pre>
+
 <strong>Input:</strong> word = &quot;he&quot;
+
 <strong>Output:</strong> 2
+
 <strong>Explanation:</strong> The two wonderful substrings are underlined below:
+
 - &quot;<b><u>h</u></b>e&quot; -&gt; &quot;h&quot;
+
 - &quot;h<strong><u>e</u></strong>&quot; -&gt; &quot;e&quot;
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>1 &lt;= word.length &lt;= 10<sup>5</sup></code></li>
-	<li><code>word</code> consists of lowercase English letters from <code>&#39;a&#39;</code>&nbsp;to <code>&#39;j&#39;</code>.</li>
+
+    <li><code>1 &lt;= word.length &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>word</code> consists of lowercase English letters from <code>&#39;a&#39;</code>&nbsp;to <code>&#39;j&#39;</code>.</li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/1900-1999/1916.Count Ways to Build Rooms in an Ant Colony/README_EN.md b/solution/1900-1999/1916.Count Ways to Build Rooms in an Ant Colony/README_EN.md
index 08e8d9fb13bfc..f306ec994eb05 100644
--- a/solution/1900-1999/1916.Count Ways to Build Rooms in an Ant Colony/README_EN.md	
+++ b/solution/1900-1999/1916.Count Ways to Build Rooms in an Ant Colony/README_EN.md	
@@ -30,39 +30,65 @@ tags:
 <p>Return <em>the <strong>number of different orders</strong> you can build all the rooms in</em>. Since the answer may be large, return it <strong>modulo</strong> <code>10<sup>9</sup> + 7</code>.</p>
 
 <p>&nbsp;</p>
+
 <p><strong class="example">Example 1:</strong></p>
+
 <img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1900-1999/1916.Count%20Ways%20to%20Build%20Rooms%20in%20an%20Ant%20Colony/images/d1.jpg" style="width: 200px; height: 212px;" />
+
 <pre>
+
 <strong>Input:</strong> prevRoom = [-1,0,1]
+
 <strong>Output:</strong> 1
+
 <strong>Explanation:</strong>&nbsp;There is only one way to build the additional rooms: 0 &rarr; 1 &rarr; 2
+
 </pre>
 
 <p><strong class="example">Example 2:</strong></p>
+
 <strong><img alt="" src="https://fastly.jsdelivr.net/gh/doocs/leetcode@main/solution/1900-1999/1916.Count%20Ways%20to%20Build%20Rooms%20in%20an%20Ant%20Colony/images/d2.jpg" style="width: 200px; height: 239px;" /></strong>
 
 <pre>
+
 <strong>Input:</strong> prevRoom = [-1,0,0,1,2]
+
 <strong>Output:</strong> 6
+
 <strong>Explanation:
+
 </strong>The 6 ways are:
+
 0 &rarr; 1 &rarr; 3 &rarr; 2 &rarr; 4
+
 0 &rarr; 2 &rarr; 4 &rarr; 1 &rarr; 3
+
 0 &rarr; 1 &rarr; 2 &rarr; 3 &rarr; 4
+
 0 &rarr; 1 &rarr; 2 &rarr; 4 &rarr; 3
+
 0 &rarr; 2 &rarr; 1 &rarr; 3 &rarr; 4
+
 0 &rarr; 2 &rarr; 1 &rarr; 4 &rarr; 3
+
 </pre>
 
 <p>&nbsp;</p>
+
 <p><strong>Constraints:</strong></p>
 
 <ul>
-	<li><code>n == prevRoom.length</code></li>
-	<li><code>2 &lt;= n &lt;= 10<sup>5</sup></code></li>
-	<li><code>prevRoom[0] == -1</code></li>
-	<li><code>0 &lt;= prevRoom[i] &lt; n</code> for all <code>1 &lt;= i &lt; n</code></li>
-	<li>Every room is reachable from room <code>0</code> once all the rooms are built.</li>
+
+    <li><code>n == prevRoom.length</code></li>
+
+    <li><code>2 &lt;= n &lt;= 10<sup>5</sup></code></li>
+
+    <li><code>prevRoom[0] == -1</code></li>
+
+    <li><code>0 &lt;= prevRoom[i] &lt; n</code> for all <code>1 &lt;= i &lt; n</code></li>
+
+    <li>Every room is reachable from room <code>0</code> once all the rooms are built.</li>
+
 </ul>
 
 <!-- description:end -->
diff --git a/solution/2600-2699/2612.Minimum Reverse Operations/README.md b/solution/2600-2699/2612.Minimum Reverse Operations/README.md
index 49a46fe26c70a..f2c06d0e2c4ea 100644
--- a/solution/2600-2699/2612.Minimum Reverse Operations/README.md	
+++ b/solution/2600-2699/2612.Minimum Reverse Operations/README.md	
@@ -20,49 +20,60 @@ tags:
 
 <!-- description:start -->
 
-<p>给你一个整数&nbsp;<code>n</code>&nbsp;和一个在范围 <code>[0, n - 1]</code>&nbsp;以内的整数&nbsp;<code>p</code>&nbsp;,它们表示一个长度为 <code>n</code> 且下标从 <strong>0</strong>&nbsp;开始的数组&nbsp;<code>arr</code>&nbsp;,数组中除了下标为&nbsp;<code>p</code>&nbsp;处是 <code>1</code>&nbsp;以外,其他所有数都是 <code>0</code>&nbsp;。</p>
+<p>给定一个整数&nbsp;<code>n</code>&nbsp;和一个整数&nbsp;<code>p</code>,它们表示一个长度为 <code>n</code> 且除了下标为&nbsp;<code>p</code>&nbsp;处是 <code>1</code>&nbsp;以外,其他所有数都是 <code>0</code>&nbsp;的数组&nbsp;<code>arr</code>。同时给定一个整数数组&nbsp;<code>banned</code>&nbsp;,它包含数组中的一些限制位置。在&nbsp;<code>arr</code>&nbsp;上进行下列操作:</p>
 
-<p>同时给你一个整数数组&nbsp;<code>banned</code>&nbsp;,它包含数组中的一些位置。<code>banned</code>&nbsp;中第&nbsp;<strong>i</strong>&nbsp;个位置表示&nbsp;<code>arr[banned[i]] = 0</code>&nbsp;,题目保证&nbsp;<code>banned[i] != p</code>&nbsp;。</p>
+<ul>
+	<li>如果单个 1 不在&nbsp;<code>banned</code>&nbsp;中的位置上,反转大小为 <code>k</code> 的 <strong><span data-keyword="subarray-nonempty">子数组</span></strong>。</li>
+</ul>
+
+<p>返回一个包含&nbsp;<code>n</code>&nbsp;个结果的整数数组&nbsp;<code>answer</code>,其中第&nbsp;<code>i</code>&nbsp;个结果是将&nbsp;<code>1</code>&nbsp;放到位置&nbsp;<code>i</code>&nbsp;处所需的&nbsp;<strong>最少</strong>&nbsp;翻转操作次数,如果无法放到位置&nbsp;<code>i</code>&nbsp;处,此数为&nbsp;<code>-1</code>&nbsp;。</p>
+
+<p>&nbsp;</p>
 
-<p>你可以对 <code>arr</code>&nbsp;进行 <strong>若干次</strong>&nbsp;操作。一次操作中,你选择大小为 <code>k</code>&nbsp;的一个 <strong>子数组</strong>&nbsp;,并将它 <b>翻转</b>&nbsp;。在任何一次翻转操作后,你都需要确保 <code>arr</code>&nbsp;中唯一的 <code>1</code>&nbsp;不会到达任何 <code>banned</code>&nbsp;中的位置。换句话说,<code>arr[banned[i]]</code>&nbsp;始终&nbsp;<strong>保持</strong>&nbsp;<code>0</code>&nbsp;。</p>
+<p><strong class="example">示例 1:</strong></p>
 
-<p>请你返回一个数组&nbsp;<code>ans</code>&nbsp;,对于<em>&nbsp;</em><code>[0, n - 1]</code>&nbsp;之间的任意下标&nbsp;<code>i</code>&nbsp;,<code>ans[i]</code>&nbsp;是将&nbsp;<code>1</code>&nbsp;放到位置&nbsp;<code>i</code>&nbsp;处的&nbsp;<strong>最少</strong>&nbsp;翻转操作次数,如果无法放到位置&nbsp;<code>i</code>&nbsp;处,此数为&nbsp;<code>-1</code>&nbsp;。</p>
+<div class="example-block">
+<p><span class="example-io"><b>输入:</b>n = 4, p = 0, banned = [1,2], k = 4</span></p>
+
+<p><span class="example-io"><b>输出:</b>[0,-1,-1,1]</span></p>
+
+<p><strong>解释:</strong></p>
 
 <ul>
-	<li><strong>子数组</strong>&nbsp;指的是一个数组里一段连续 <strong>非空</strong>&nbsp;的元素序列。</li>
-	<li>对于所有的 <code>i</code>&nbsp;,<code>ans[i]</code>&nbsp;相互之间独立计算。</li>
-	<li>将一个数组中的元素 <strong>翻转</strong> 指的是将数组中的值变成 <strong>相反顺序</strong>&nbsp;。</li>
+	<li>一开始 1 位于位置 0,因此我们需要在位置 0 上的操作数是 0。</li>
+	<li>我们不能将 1 放置在被禁止的位置上,所以位置 1 和 2 的答案是 -1。</li>
+	<li>执行大小为 4 的操作以反转整个数组。</li>
+	<li>在一次操作后,1 位于位置 3,因此位置 3 的答案是 1。</li>
 </ul>
+</div>
 
-<p>&nbsp;</p>
+<p><strong class="example">示例 2:</strong></p>
+
+<div class="example-block">
+<p><span class="example-io"><b>输入:</b>n = 5, p = 0, banned = [2,4], k = 3</span></p>
+
+<p><span class="example-io"><b>输出:</b>[0,-1,-1,-1,-1]</span></p>
+
+<p><b>解释:</b></p>
+
+<ul>
+	<li>一开始 1 位于位置 0,因此我们需要在位置 0 上的操作数是 0。</li>
+	<li>我们不能在&nbsp;<code>[0, 2]</code>&nbsp;的子数组位置上执行操作,因为位置 2 在 banned 中。</li>
+	<li>由于 1 不能够放置在位置 2 上,使用更多操作将 1 放置在其它位置上是不可能的。</li>
+</ul>
+</div>
+
+<p><strong class="example">示例 3:</strong></p>
+
+<div class="example-block">
+<p><span class="example-io"><b>输入:</b>n = 4, p = 2, banned = [0,1,3], k = 1</span></p>
+
+<p><span class="example-io"><b>输出:</b>[-1,-1,0,-1]</span></p>
+
+<p><strong>解释:</strong></p>
 
-<p><strong>示例 1:</strong></p>
-
-<pre>
-<b>输入:</b>n = 4, p = 0, banned = [1,2], k = 4
-<b>输出:</b>[0,-1,-1,1]
-<b>解释:</b><code>k = 4,所以只有一种可行的翻转操作,就是将整个数组翻转。一开始 </code>1<strong> </strong>在位置 0 处,所以将它翻转到位置 0 处需要的操作数为 0 。
-我们不能将 1 翻转到 banned 中的位置,所以位置 1 和 2 处的答案都是 -1 。
-通过一次翻转操作,可以将 1 放到位置 3 处,所以位置 3 的答案是 1 。
-</pre>
-
-<p><strong>示例 2:</strong></p>
-
-<pre>
-<b>输入:</b>n = 5, p = 0, banned = [2,4], k = 3
-<b>输出:</b>[0,-1,-1,-1,-1]
-<b>解释:</b>这个例子中 1 一开始在位置 0 处,所以此下标的答案为 0 。
-翻转的子数组长度为 k = 3 ,1 此时在位置 0 处,所以我们可以翻转子数组 [0, 2],但翻转后的下标 2 在 banned 中,所以不能执行此操作。
-由于 1 没法离开位置 0 ,所以其他位置的答案都是 -1 。
-</pre>
-
-<p><strong>示例 3:</strong></p>
-
-<pre>
-<b>输入:</b>n = 4, p = 2, banned = [0,1,3], k = 1
-<b>输出:</b>[-1,-1,0,-1]
-<b>解释:</b>这个例子中,我们只能对长度为 1 的子数组执行翻转操作,所以 1 无法离开初始位置。
-</pre>
+<p>执行大小为 1 的操作,且 1 永远不会改变位置。</p>
+</div>
 
 <p>&nbsp;</p>