Skip to content

Commit a4120c3

Browse files
authored
Update readme.md
1 parent 38e8d13 commit a4120c3

File tree

1 file changed

+3
-3
lines changed
  • src/main/java/g0201_0300/s0268_missing_number

1 file changed

+3
-3
lines changed

src/main/java/g0201_0300/s0268_missing_number/readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ Given an array `nums` containing `n` distinct numbers in the range `[0, n]`, ret
2626

2727
**Output:** 8
2828

29-
**Explanation:****:** 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.
29+
**Explanation:** 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.
3030

3131
**Example 4:**
3232

3333
**Input:** nums = \[0\]
3434

3535
**Output:** 1
3636

37-
**Explanation:****:** n = 1 since there is 1 number, so all numbers are in the range \[0,1\]. 1 is the missing number in the range since it does not appear in nums.
37+
**Explanation:** n = 1 since there is 1 number, so all numbers are in the range \[0,1\]. 1 is the missing number in the range since it does not appear in nums.
3838

3939
**Constraints:**
4040

@@ -43,4 +43,4 @@ Given an array `nums` containing `n` distinct numbers in the range `[0, n]`, ret
4343
* `0 <= nums[i] <= n`
4444
* All the numbers of `nums` are **unique**.
4545

46-
**Follow up:** Could you implement a solution using only `O(1)` extra space complexity and `O(n)` runtime complexity?
46+
**Follow up:** Could you implement a solution using only `O(1)` extra space complexity and `O(n)` runtime complexity?

0 commit comments

Comments
 (0)