Skip to content

Commit

Permalink
feat: use absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
yanglbme committed Apr 22, 2021
1 parent a601c6b commit 62226f4
Show file tree
Hide file tree
Showing 839 changed files with 1,577 additions and 1,577 deletions.
2 changes: 1 addition & 1 deletion solution/0000-0099/0002.Add Two Numbers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<p> </p>

<p><strong>示例 1:</strong></p>
<img alt="" src="/solution/0000-0099/0002.Add Two Numbers/images/addtwonumber1.jpg" style="width: 483px; height: 342px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0002.Add%20Two%20Numbers/images/addtwonumber1.jpg" style="width: 483px; height: 342px;" />
<pre>
<strong>输入:</strong>l1 = [2,4,3], l2 = [5,6,4]
<strong>输出:</strong>[7,0,8]
Expand Down
2 changes: 1 addition & 1 deletion solution/0000-0099/0002.Add Two Numbers/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<p>&nbsp;</p>
<p><strong>Example 1:</strong></p>
<img alt="" src="/solution/0000-0099/0002.Add Two Numbers/images/addtwonumber1.jpg" style="width: 483px; height: 342px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0002.Add%20Two%20Numbers/images/addtwonumber1.jpg" style="width: 483px; height: 342px;" />
<pre>
<strong>Input:</strong> l1 = [2,4,3], l2 = [5,6,4]
<strong>Output:</strong> [7,0,8]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

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

<p><img alt="" src="/solution/0000-0099/0011.Container With Most Water/images/question_11.jpg" style="height: 287px; width: 600px;" /></p>
<p><img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0011.Container%20With%20Most%20Water/images/question_11.jpg" style="height: 287px; width: 600px;" /></p>

<pre>
<strong>输入:</strong>[1,8,6,2,5,4,8,3,7]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<p>&nbsp;</p>
<p><strong>Example 1:</strong></p>
<img alt="" src="/solution/0000-0099/0011.Container With Most Water/images/question_11.jpg" style="width: 600px; height: 287px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0011.Container%20With%20Most%20Water/images/question_11.jpg" style="width: 600px; height: 287px;" />
<pre>
<strong>Input:</strong> height = [1,8,6,2,5,4,8,3,7]
<strong>Output:</strong> 49
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<p>给出数字到字母的映射如下(与电话按键相同)。注意 1 不对应任何字母。</p>

<p><img src="/solution/0000-0099/0017.Letter Combinations of a Phone Number/images/17_telephone_keypad.png" style="width: 200px;" /></p>
<p><img src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0017.Letter%20Combinations%20of%20a%20Phone%20Number/images/17_telephone_keypad.png" style="width: 200px;" /></p>

<p> </p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<p>A mapping of digit to letters (just like on the telephone buttons) is given below. Note that 1 does not map to any letters.</p>

<p><img src="/solution/0000-0099/0017.Letter Combinations of a Phone Number/images/200px-Telephone-keypad2.svg.png" style="width: 200px; height: 162px;" /></p>
<p><img src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0017.Letter%20Combinations%20of%20a%20Phone%20Number/images/200px-Telephone-keypad2.svg.png" style="width: 200px; height: 162px;" /></p>

<p>&nbsp;</p>
<p><strong>Example 1:</strong></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<p> </p>

<p><strong>示例 1:</strong></p>
<img alt="" src="/solution/0000-0099/0019.Remove Nth Node From End of List/images/remove_ex1.jpg" style="width: 542px; height: 222px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0019.Remove%20Nth%20Node%20From%20End%20of%20List/images/remove_ex1.jpg" style="width: 542px; height: 222px;" />
<pre>
<strong>输入:</strong>head = [1,2,3,4,5], n = 2
<strong>输出:</strong>[1,2,3,5]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<p>&nbsp;</p>
<p><strong>Example 1:</strong></p>
<img alt="" src="/solution/0000-0099/0019.Remove Nth Node From End of List/images/remove_ex1.jpg" style="width: 542px; height: 222px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0019.Remove%20Nth%20Node%20From%20End%20of%20List/images/remove_ex1.jpg" style="width: 542px; height: 222px;" />
<pre>
<strong>Input:</strong> head = [1,2,3,4,5], n = 2
<strong>Output:</strong> [1,2,3,5]
Expand Down
2 changes: 1 addition & 1 deletion solution/0000-0099/0021.Merge Two Sorted Lists/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<p> </p>

<p><strong>示例 1:</strong></p>
<img alt="" src="/solution/0000-0099/0021.Merge Two Sorted Lists/images/merge_ex1.jpg" style="width: 662px; height: 302px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0021.Merge%20Two%20Sorted%20Lists/images/merge_ex1.jpg" style="width: 662px; height: 302px;" />
<pre>
<strong>输入:</strong>l1 = [1,2,4], l2 = [1,3,4]
<strong>输出:</strong>[1,1,2,3,4,4]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<p>&nbsp;</p>
<p><strong>Example 1:</strong></p>
<img alt="" src="/solution/0000-0099/0021.Merge Two Sorted Lists/images/merge_ex1.jpg" style="width: 662px; height: 302px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0021.Merge%20Two%20Sorted%20Lists/images/merge_ex1.jpg" style="width: 662px; height: 302px;" />
<pre>
<strong>Input:</strong> l1 = [1,2,4], l2 = [1,3,4]
<strong>Output:</strong> [1,1,2,3,4,4]
Expand Down
2 changes: 1 addition & 1 deletion solution/0000-0099/0024.Swap Nodes in Pairs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<p> </p>

<p><strong>示例 1:</strong></p>
<img alt="" src="/solution/0000-0099/0024.Swap Nodes in Pairs/images/swap_ex1.jpg" style="width: 422px; height: 222px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0024.Swap%20Nodes%20in%20Pairs/images/swap_ex1.jpg" style="width: 422px; height: 222px;" />
<pre>
<strong>输入:</strong>head = [1,2,3,4]
<strong>输出:</strong>[2,1,4,3]
Expand Down
2 changes: 1 addition & 1 deletion solution/0000-0099/0024.Swap Nodes in Pairs/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<p>&nbsp;</p>
<p><strong>Example 1:</strong></p>
<img alt="" src="/solution/0000-0099/0024.Swap Nodes in Pairs/images/swap_ex1.jpg" style="width: 422px; height: 222px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0024.Swap%20Nodes%20in%20Pairs/images/swap_ex1.jpg" style="width: 422px; height: 222px;" />
<pre>
<strong>Input:</strong> head = [1,2,3,4]
<strong>Output:</strong> [2,1,4,3]
Expand Down
4 changes: 2 additions & 2 deletions solution/0000-0099/0025.Reverse Nodes in k-Group/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
<p> </p>

<p><strong>示例 1:</strong></p>
<img alt="" src="/solution/0000-0099/0025.Reverse Nodes in k-Group/images/reverse_ex1.jpg" style="width: 542px; height: 222px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0025.Reverse%20Nodes%20in%20k-Group/images/reverse_ex1.jpg" style="width: 542px; height: 222px;" />
<pre>
<strong>输入:</strong>head = [1,2,3,4,5], k = 2
<strong>输出:</strong>[2,1,4,3,5]
</pre>

<p><strong>示例 2:</strong></p>
<img alt="" src="/solution/0000-0099/0025.Reverse Nodes in k-Group/images/reverse_ex2.jpg" style="width: 542px; height: 222px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0025.Reverse%20Nodes%20in%20k-Group/images/reverse_ex2.jpg" style="width: 542px; height: 222px;" />
<pre>
<strong>输入:</strong>head = [1,2,3,4,5], k = 3
<strong>输出:</strong>[3,2,1,4,5]
Expand Down
4 changes: 2 additions & 2 deletions solution/0000-0099/0025.Reverse Nodes in k-Group/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@

<p>&nbsp;</p>
<p><strong>Example 1:</strong></p>
<img alt="" src="/solution/0000-0099/0025.Reverse Nodes in k-Group/images/reverse_ex1.jpg" style="width: 542px; height: 222px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0025.Reverse%20Nodes%20in%20k-Group/images/reverse_ex1.jpg" style="width: 542px; height: 222px;" />
<pre>
<strong>Input:</strong> head = [1,2,3,4,5], k = 2
<strong>Output:</strong> [2,1,4,3,5]
</pre>

<p><strong>Example 2:</strong></p>
<img alt="" src="/solution/0000-0099/0025.Reverse Nodes in k-Group/images/reverse_ex2.jpg" style="width: 542px; height: 222px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0025.Reverse%20Nodes%20in%20k-Group/images/reverse_ex2.jpg" style="width: 542px; height: 222px;" />
<pre>
<strong>Input:</strong> head = [1,2,3,4,5], k = 3
<strong>Output:</strong> [3,2,1,4,5]
Expand Down
2 changes: 1 addition & 1 deletion solution/0000-0099/0036.Valid Sudoku/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<p> </p>

<p><strong>示例 1:</strong></p>
<img src="/solution/0000-0099/0036.Valid Sudoku/images/250px-sudoku-by-l2g-20050714svg.png" style="height:250px; width:250px" />
<img src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0036.Valid%20Sudoku/images/250px-sudoku-by-l2g-20050714svg.png" style="height:250px; width:250px" />
<pre>
<strong>输入:</strong>board =
[["5","3",".",".","7",".",".",".","."]
Expand Down
2 changes: 1 addition & 1 deletion solution/0000-0099/0036.Valid Sudoku/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<p>&nbsp;</p>
<p><strong>Example 1:</strong></p>
<img src="/solution/0000-0099/0036.Valid Sudoku/images/250px-Sudoku-by-L2G-20050714.svg.png" style="height:250px; width:250px" />
<img src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0036.Valid%20Sudoku/images/250px-Sudoku-by-L2G-20050714.svg.png" style="height:250px; width:250px" />
<pre>
<strong>Input:</strong> board =
[[&quot;5&quot;,&quot;3&quot;,&quot;.&quot;,&quot;.&quot;,&quot;7&quot;,&quot;.&quot;,&quot;.&quot;,&quot;.&quot;,&quot;.&quot;]
Expand Down
4 changes: 2 additions & 2 deletions solution/0000-0099/0037.Sudoku Solver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
<div class="original__bRMd">
<div>
<p><strong>示例:</strong></p>
<img src="/solution/0000-0099/0037.Sudoku Solver/images/250px-sudoku-by-l2g-20050714svg.png" style="height:250px; width:250px" />
<img src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0037.Sudoku%20Solver/images/250px-sudoku-by-l2g-20050714svg.png" style="height:250px; width:250px" />
<pre>
<strong>输入:</strong>board = [["5","3",".",".","7",".",".",".","."],["6",".",".","1","9","5",".",".","."],[".","9","8",".",".",".",".","6","."],["8",".",".",".","6",".",".",".","3"],["4",".",".","8",".","3",".",".","1"],["7",".",".",".","2",".",".",".","6"],[".","6",".",".",".",".","2","8","."],[".",".",".","4","1","9",".",".","5"],[".",".",".",".","8",".",".","7","9"]]
<strong>输出:</strong>[["5","3","4","6","7","8","9","1","2"],["6","7","2","1","9","5","3","4","8"],["1","9","8","3","4","2","5","6","7"],["8","5","9","7","6","1","4","2","3"],["4","2","6","8","5","3","7","9","1"],["7","1","3","9","2","4","8","5","6"],["9","6","1","5","3","7","2","8","4"],["2","8","7","4","1","9","6","3","5"],["3","4","5","2","8","6","1","7","9"]]
<strong>解释:</strong>输入的数独如上图所示,唯一有效的解决方案如下所示:

<img src="/solution/0000-0099/0037.Sudoku Solver/images/250px-sudoku-by-l2g-20050714_solutionsvg.png" style="height:250px; width:250px" />
<img src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0037.Sudoku%20Solver/images/250px-sudoku-by-l2g-20050714_solutionsvg.png" style="height:250px; width:250px" />
</pre>

<p> </p>
Expand Down
4 changes: 2 additions & 2 deletions solution/0000-0099/0037.Sudoku Solver/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@

<p>&nbsp;</p>
<p><strong>Example 1:</strong></p>
<img src="/solution/0000-0099/0037.Sudoku Solver/images/250px-Sudoku-by-L2G-20050714.svg.png" style="height:250px; width:250px" />
<img src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0037.Sudoku%20Solver/images/250px-Sudoku-by-L2G-20050714.svg.png" style="height:250px; width:250px" />
<pre>
<strong>Input:</strong> board = [[&quot;5&quot;,&quot;3&quot;,&quot;.&quot;,&quot;.&quot;,&quot;7&quot;,&quot;.&quot;,&quot;.&quot;,&quot;.&quot;,&quot;.&quot;],[&quot;6&quot;,&quot;.&quot;,&quot;.&quot;,&quot;1&quot;,&quot;9&quot;,&quot;5&quot;,&quot;.&quot;,&quot;.&quot;,&quot;.&quot;],[&quot;.&quot;,&quot;9&quot;,&quot;8&quot;,&quot;.&quot;,&quot;.&quot;,&quot;.&quot;,&quot;.&quot;,&quot;6&quot;,&quot;.&quot;],[&quot;8&quot;,&quot;.&quot;,&quot;.&quot;,&quot;.&quot;,&quot;6&quot;,&quot;.&quot;,&quot;.&quot;,&quot;.&quot;,&quot;3&quot;],[&quot;4&quot;,&quot;.&quot;,&quot;.&quot;,&quot;8&quot;,&quot;.&quot;,&quot;3&quot;,&quot;.&quot;,&quot;.&quot;,&quot;1&quot;],[&quot;7&quot;,&quot;.&quot;,&quot;.&quot;,&quot;.&quot;,&quot;2&quot;,&quot;.&quot;,&quot;.&quot;,&quot;.&quot;,&quot;6&quot;],[&quot;.&quot;,&quot;6&quot;,&quot;.&quot;,&quot;.&quot;,&quot;.&quot;,&quot;.&quot;,&quot;2&quot;,&quot;8&quot;,&quot;.&quot;],[&quot;.&quot;,&quot;.&quot;,&quot;.&quot;,&quot;4&quot;,&quot;1&quot;,&quot;9&quot;,&quot;.&quot;,&quot;.&quot;,&quot;5&quot;],[&quot;.&quot;,&quot;.&quot;,&quot;.&quot;,&quot;.&quot;,&quot;8&quot;,&quot;.&quot;,&quot;.&quot;,&quot;7&quot;,&quot;9&quot;]]
<strong>Output:</strong> [[&quot;5&quot;,&quot;3&quot;,&quot;4&quot;,&quot;6&quot;,&quot;7&quot;,&quot;8&quot;,&quot;9&quot;,&quot;1&quot;,&quot;2&quot;],[&quot;6&quot;,&quot;7&quot;,&quot;2&quot;,&quot;1&quot;,&quot;9&quot;,&quot;5&quot;,&quot;3&quot;,&quot;4&quot;,&quot;8&quot;],[&quot;1&quot;,&quot;9&quot;,&quot;8&quot;,&quot;3&quot;,&quot;4&quot;,&quot;2&quot;,&quot;5&quot;,&quot;6&quot;,&quot;7&quot;],[&quot;8&quot;,&quot;5&quot;,&quot;9&quot;,&quot;7&quot;,&quot;6&quot;,&quot;1&quot;,&quot;4&quot;,&quot;2&quot;,&quot;3&quot;],[&quot;4&quot;,&quot;2&quot;,&quot;6&quot;,&quot;8&quot;,&quot;5&quot;,&quot;3&quot;,&quot;7&quot;,&quot;9&quot;,&quot;1&quot;],[&quot;7&quot;,&quot;1&quot;,&quot;3&quot;,&quot;9&quot;,&quot;2&quot;,&quot;4&quot;,&quot;8&quot;,&quot;5&quot;,&quot;6&quot;],[&quot;9&quot;,&quot;6&quot;,&quot;1&quot;,&quot;5&quot;,&quot;3&quot;,&quot;7&quot;,&quot;2&quot;,&quot;8&quot;,&quot;4&quot;],[&quot;2&quot;,&quot;8&quot;,&quot;7&quot;,&quot;4&quot;,&quot;1&quot;,&quot;9&quot;,&quot;6&quot;,&quot;3&quot;,&quot;5&quot;],[&quot;3&quot;,&quot;4&quot;,&quot;5&quot;,&quot;2&quot;,&quot;8&quot;,&quot;6&quot;,&quot;1&quot;,&quot;7&quot;,&quot;9&quot;]]
<strong>Explanation:</strong>&nbsp;The input board is shown above and the only valid solution is shown below:

<img src="/solution/0000-0099/0037.Sudoku Solver/images/250px-Sudoku-by-L2G-20050714_solution.svg.png" style="height:250px; width:250px" />
<img src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0037.Sudoku%20Solver/images/250px-Sudoku-by-L2G-20050714_solution.svg.png" style="height:250px; width:250px" />
</pre>

<p>&nbsp;</p>
Expand Down
2 changes: 1 addition & 1 deletion solution/0000-0099/0038.Count and Say/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<p>要 <strong>描述</strong> 一个数字字符串,首先要将字符串分割为 <strong>最小</strong> 数量的组,每个组都由连续的最多 <strong>相同字符</strong> 组成。然后对于每个组,先描述字符的数量,然后描述字符,形成一个描述组。要将描述转换为数字字符串,先将每组中的字符数量用数字替换,再将所有描述组连接起来。</p>

<p>例如,数字字符串 <code>"3322251"</code> 的描述如下图:</p>
<img alt="" src="/solution/0000-0099/0038.Count and Say/images/countandsay.jpg" style="width: 581px; height: 172px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0038.Count%20and%20Say/images/countandsay.jpg" style="width: 581px; height: 172px;" />
<ul>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion solution/0000-0099/0038.Count and Say/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<p>To determine how you &quot;say&quot; a digit string, split it into the <strong>minimal</strong> number of groups so that each group is a contiguous section all of the <strong>same character.</strong> Then for each group, say the number of characters, then say the character. To convert the saying into a digit string, replace the counts with a number and concatenate every saying.</p>

<p>For example, the saying and conversion for digit string <code>&quot;3322251&quot;</code>:</p>
<img alt="" src="/solution/0000-0099/0038.Count and Say/images/countandsay.jpg" style="width: 581px; height: 172px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0038.Count%20and%20Say/images/countandsay.jpg" style="width: 581px; height: 172px;" />
<p>Given a positive integer <code>n</code>, return <em>the </em><code>n<sup>th</sup></code><em> term of the <strong>count-and-say</strong> sequence</em>.</p>

<p>&nbsp;</p>
Expand Down
2 changes: 1 addition & 1 deletion solution/0000-0099/0042.Trapping Rain Water/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

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

<p><img src="/solution/0000-0099/0042.Trapping Rain Water/images/rainwatertrap.png" style="height: 161px; width: 412px;" /></p>
<p><img src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0042.Trapping%20Rain%20Water/images/rainwatertrap.png" style="height: 161px; width: 412px;" /></p>

<pre>
<strong>输入:</strong>height = [0,1,0,2,1,0,1,3,2,1,2,1]
Expand Down
2 changes: 1 addition & 1 deletion solution/0000-0099/0042.Trapping Rain Water/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<p>&nbsp;</p>
<p><strong>Example 1:</strong></p>
<img src="/solution/0000-0099/0042.Trapping Rain Water/images/rainwatertrap.png" style="width: 412px; height: 161px;" />
<img src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0042.Trapping%20Rain%20Water/images/rainwatertrap.png" style="width: 412px; height: 161px;" />
<pre>
<strong>Input:</strong> height = [0,1,0,2,1,0,1,3,2,1,2,1]
<strong>Output:</strong> 6
Expand Down
4 changes: 2 additions & 2 deletions solution/0000-0099/0048.Rotate Image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
<p> </p>

<p><strong>示例 1:</strong></p>
<img alt="" src="/solution/0000-0099/0048.Rotate Image/images/mat1.jpg" style="width: 642px; height: 242px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0048.Rotate%20Image/images/mat1.jpg" style="width: 642px; height: 242px;" />
<pre>
<strong>输入:</strong>matrix = [[1,2,3],[4,5,6],[7,8,9]]
<strong>输出:</strong>[[7,4,1],[8,5,2],[9,6,3]]
</pre>

<p><strong>示例 2:</strong></p>
<img alt="" src="/solution/0000-0099/0048.Rotate Image/images/mat2.jpg" style="width: 800px; height: 321px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0048.Rotate%20Image/images/mat2.jpg" style="width: 800px; height: 321px;" />
<pre>
<strong>输入:</strong>matrix = [[5,1,9,11],[2,4,8,10],[13,3,6,7],[15,14,12,16]]
<strong>输出:</strong>[[15,13,2,5],[14,3,4,1],[12,6,8,9],[16,7,10,11]]
Expand Down
4 changes: 2 additions & 2 deletions solution/0000-0099/0048.Rotate Image/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@

<p>&nbsp;</p>
<p><strong>Example 1:</strong></p>
<img alt="" src="/solution/0000-0099/0048.Rotate Image/images/mat1.jpg" style="width: 642px; height: 242px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0048.Rotate%20Image/images/mat1.jpg" style="width: 642px; height: 242px;" />
<pre>
<strong>Input:</strong> matrix = [[1,2,3],[4,5,6],[7,8,9]]
<strong>Output:</strong> [[7,4,1],[8,5,2],[9,6,3]]
</pre>

<p><strong>Example 2:</strong></p>
<img alt="" src="/solution/0000-0099/0048.Rotate Image/images/mat2.jpg" style="width: 800px; height: 321px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0048.Rotate%20Image/images/mat2.jpg" style="width: 800px; height: 321px;" />
<pre>
<strong>Input:</strong> matrix = [[5,1,9,11],[2,4,8,10],[13,3,6,7],[15,14,12,16]]
<strong>Output:</strong> [[15,13,2,5],[14,3,4,1],[12,6,8,9],[16,7,10,11]]
Expand Down
2 changes: 1 addition & 1 deletion solution/0000-0099/0051.N-Queens/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<p> </p>

<p><strong>示例 1:</strong></p>
<img alt="" src="/solution/0000-0099/0051.N-Queens/images/queens.jpg" style="width: 600px; height: 268px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0051.N-Queens/images/queens.jpg" style="width: 600px; height: 268px;" />
<pre>
<strong>输入:</strong>n = 4
<strong>输出:</strong>[[".Q..","...Q","Q...","..Q."],["..Q.","Q...","...Q",".Q.."]]
Expand Down
2 changes: 1 addition & 1 deletion solution/0000-0099/0051.N-Queens/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<p>&nbsp;</p>
<p><strong>Example 1:</strong></p>
<img alt="" src="/solution/0000-0099/0051.N-Queens/images/queens.jpg" style="width: 600px; height: 268px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0051.N-Queens/images/queens.jpg" style="width: 600px; height: 268px;" />
<pre>
<strong>Input:</strong> n = 4
<strong>Output:</strong> [[&quot;.Q..&quot;,&quot;...Q&quot;,&quot;Q...&quot;,&quot;..Q.&quot;],[&quot;..Q.&quot;,&quot;Q...&quot;,&quot;...Q&quot;,&quot;.Q..&quot;]]
Expand Down
2 changes: 1 addition & 1 deletion solution/0000-0099/0052.N-Queens II/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div class="original__bRMd">
<div>
<p><strong>示例 1:</strong></p>
<img alt="" src="/solution/0000-0099/0052.N-Queens II/images/queens.jpg" style="width: 600px; height: 268px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0052.N-Queens%20II/images/queens.jpg" style="width: 600px; height: 268px;" />
<pre>
<strong>输入:</strong>n = 4
<strong>输出:</strong>2
Expand Down
2 changes: 1 addition & 1 deletion solution/0000-0099/0052.N-Queens II/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<p>&nbsp;</p>
<p><strong>Example 1:</strong></p>
<img alt="" src="/solution/0000-0099/0052.N-Queens II/images/queens.jpg" style="width: 600px; height: 268px;" />
<img alt="" src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/solution/0000-0099/0052.N-Queens%20II/images/queens.jpg" style="width: 600px; height: 268px;" />
<pre>
<strong>Input:</strong> n = 4
<strong>Output:</strong> 2
Expand Down
Loading

0 comments on commit 62226f4

Please sign in to comment.