You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: solution/0200-0299/0268.Missing Number/README_EN.md
+45-15
Original file line number
Diff line number
Diff line change
@@ -26,27 +26,57 @@ tags:
26
26
<p> </p>
27
27
<p><strongclass="example">Example 1:</strong></p>
28
28
29
-
<pre>
30
-
<strong>Input:</strong> nums = [3,0,1]
31
-
<strong>Output:</strong> 2
32
-
<strong>Explanation:</strong> n = 3 since there are 3 numbers, so all numbers are in the range [0,3]. 2 is the missing number in the range since it does not appear in nums.
<p><code>n = 3</code> since there are 3 numbers, so all numbers are in the range <code>[0,3]</code>. 2 is the missing number in the range since it does not appear in <code>nums</code>.</p>
37
+
</div>
34
38
35
39
<p><strongclass="example">Example 2:</strong></p>
36
40
37
-
<pre>
38
-
<strong>Input:</strong> nums = [0,1]
39
-
<strong>Output:</strong> 2
40
-
<strong>Explanation:</strong> n = 2 since there are 2 numbers, so all numbers are in the range [0,2]. 2 is the missing number in the range since it does not appear in nums.
<p><code>n = 2</code> since there are 2 numbers, so all numbers are in the range <code>[0,2]</code>. 2 is the missing number in the range since it does not appear in <code>nums</code>.</p>
<strong>Explanation:</strong> n = 9 since there are 9 numbers, so all numbers are in the range [0,9]. 8 is the missing number in the range since it does not appear in nums.
<p><code>n = 9</code> since there are 9 numbers, so all numbers are in the range <code>[0,9]</code>. 8 is the missing number in the range since it does not appear in <code>nums</code>.</p>
<li><code>path</code> and <code>filePath</code> are absolute paths which begin with <code>'/'</code> and do not end with <code>'/'</code> except that the path is just <code>"/"</code>.</li>
71
71
<li>You can assume that all directory names and file names only contain lowercase letters, and the same names will not exist in the same directory.</li>
72
72
<li>You can assume that all operations will be passed valid parameters, and users will not attempt to retrieve file content or list a directory or file that does not exist.</li>
73
+
<li>You can assume that the parent directory for the file in <code>addContentToFile</code> will exist.</li>
<li>At most <code>300</code> calls will be made to <code>ls</code>, <code>mkdir</code>, <code>addContentToFile</code>, and <code>readContentFromFile</code>.</li>
Copy file name to clipboardexpand all lines: solution/1400-1499/1400.Construct K Palindrome Strings/README_EN.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ tags:
21
21
22
22
<!-- description:start -->
23
23
24
-
<p>Given a string <code>s</code> and an integer <code>k</code>, return <code>true</code> <em>if you can use all the characters in </em><code>s</code><em> to construct </em><code>k</code><em> palindrome strings or </em><code>false</code><em> otherwise</em>.</p>
24
+
<p>Given a string <code>s</code> and an integer <code>k</code>, return <code>true</code> if you can use all the characters in <code>s</code> to construct <code>k</code> <spandata-keyword="palindrome-string">palindrome strings</span> or <code>false</code> otherwise.</p>
0 commit comments