Skip to content

Commit 3bf2129

Browse files
committed
style: update problems description
1 parent b448e2f commit 3bf2129

File tree

280 files changed

+1
-1250
lines changed

Some content is hidden

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

280 files changed

+1
-1250
lines changed

.github/workflows/prettier.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
name: Prettier
22

33
on:
4-
pull_request:
54
push:
6-
branches:
7-
- main
5+
branches: [ main ]
86

97
jobs:
108
prettier:

solution/0000-0099/0008.String to Integer (atoi)/README_EN.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@
1717
<p><strong>Note:</strong></p>
1818

1919
<ul>
20-
2120
<li>Only the space character <code>&#39; &#39;</code> is considered as whitespace character.</li>
22-
2321
<li>Assume we are dealing with an environment which could only store integers within the 32-bit signed integer range: [&minus;2<sup>31</sup>,&nbsp; 2<sup>31&nbsp;</sup>&minus; 1]. If the numerical value is out of the range of representable values, INT_MAX (2<sup>31&nbsp;</sup>&minus; 1) or INT_MIN (&minus;2<sup>31</sup>) is returned.</li>
24-
2522
</ul>
2623

2724
<p><strong>Example 1:</strong></p>

solution/0000-0099/0012.Integer to Roman/README_EN.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,9 @@ M 1000</pre>
2929
<p>Roman numerals are usually written largest to smallest from left to right. However, the numeral for four is not <code>IIII</code>. Instead, the number four is written as <code>IV</code>. Because the one is before the five we subtract it making four. The same principle applies to the number nine, which is written as <code>IX</code>. There are six instances where subtraction is used:</p>
3030

3131
<ul>
32-
3332
<li><code>I</code> can be placed before <code>V</code> (5) and <code>X</code> (10) to make 4 and 9.&nbsp;</li>
34-
3533
<li><code>X</code> can be placed before <code>L</code> (50) and <code>C</code> (100) to make 40 and 90.&nbsp;</li>
36-
3734
<li><code>C</code> can be placed before <code>D</code> (500) and <code>M</code> (1000) to make 400 and 900.</li>
38-
3935
</ul>
4036

4137
<p>Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999.</p>

solution/0000-0099/0013.Roman to Integer/README_EN.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,9 @@ M 1000</pre>
2929
<p>Roman numerals are usually written largest to smallest from left to right. However, the numeral for four is not <code>IIII</code>. Instead, the number four is written as <code>IV</code>. Because the one is before the five we subtract it making four. The same principle applies to the number nine, which is written as <code>IX</code>. There are six instances where subtraction is used:</p>
3030

3131
<ul>
32-
3332
<li><code>I</code> can be placed before <code>V</code> (5) and <code>X</code> (10) to make 4 and 9.&nbsp;</li>
34-
3533
<li><code>X</code> can be placed before <code>L</code> (50) and <code>C</code> (100) to make 40 and 90.&nbsp;</li>
36-
3734
<li><code>C</code> can be placed before <code>D</code> (500) and <code>M</code> (1000) to make 400 and 900.</li>
38-
3935
</ul>
4036

4137
<p>Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999.</p>

solution/0000-0099/0025.Reverse Nodes in k-Group/README_EN.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@
2323
<p><strong>Note:</strong></p>
2424

2525
<ul>
26-
2726
<li>Only constant extra memory is allowed.</li>
28-
2927
<li>You may not alter the values in the list&#39;s nodes, only nodes itself may be changed.</li>
30-
3128
</ul>
3229

3330
## Solutions

solution/0000-0099/0036.Valid Sudoku/README_EN.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,10 @@
9393
<p><strong>Note:</strong></p>
9494

9595
<ul>
96-
9796
<li>A Sudoku board (partially filled) could be valid but is not necessarily solvable.</li>
98-
9997
<li>Only the filled cells need to be validated according to the mentioned&nbsp;rules.</li>
100-
10198
<li>The given board&nbsp;contain only digits <code>1-9</code> and the character <code>&#39;.&#39;</code>.</li>
102-
10399
<li>The given board size is always <code>9x9</code>.</li>
104-
105100
</ul>
106101

107102
## Solutions

solution/0000-0099/0037.Sudoku Solver/README_EN.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,9 @@
3131
<p><strong>Note:</strong></p>
3232

3333
<ul>
34-
3534
<li>The given board&nbsp;contain only digits <code>1-9</code> and the character <code>&#39;.&#39;</code>.</li>
36-
3735
<li>You may assume that the given Sudoku puzzle will have a single unique solution.</li>
38-
3936
<li>The given board size is always <code>9x9</code>.</li>
40-
4137
</ul>
4238

4339
## Solutions

solution/0000-0099/0039.Combination Sum/README_EN.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,8 @@
1111
<p><strong>Note:</strong></p>
1212

1313
<ul>
14-
1514
<li>All numbers (including <code>target</code>) will be positive integers.</li>
16-
1715
<li>The solution set must not contain duplicate combinations.</li>
18-
1916
</ul>
2017

2118
<p><strong>Example 1:</strong></p>

solution/0000-0099/0040.Combination Sum II/README_EN.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,8 @@
1111
<p><strong>Note:</strong></p>
1212

1313
<ul>
14-
1514
<li>All numbers (including <code>target</code>) will be positive integers.</li>
16-
1715
<li>The solution set must not contain duplicate combinations.</li>
18-
1916
</ul>
2017

2118
<p><strong>Example 1:</strong></p>

solution/0000-0099/0044.Wildcard Matching/README_EN.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@
1919
<p><strong>Note:</strong></p>
2020

2121
<ul>
22-
2322
<li><code>s</code>&nbsp;could be empty and contains only lowercase letters <code>a-z</code>.</li>
24-
2523
<li><code>p</code> could be empty and contains only lowercase letters <code>a-z</code>, and characters like <code><font face="monospace">?</font></code>&nbsp;or&nbsp;<code>*</code>.</li>
26-
2724
</ul>
2825

2926
<p><strong>Example 1:</strong></p>

0 commit comments

Comments
 (0)