Skip to content

Commit 23fa248

Browse files
authored
docs: update description to lc problem No.0033 (#707)
No.0033.Search in Rotated Sorted Array
1 parent 489399e commit 23fa248

File tree

1 file changed

+6
-5
lines changed
  • solution/0000-0099/0033.Search in Rotated Sorted Array

1 file changed

+6
-5
lines changed

solution/0000-0099/0033.Search in Rotated Sorted Array/README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,16 @@
1717
<p><strong>示例 1:</strong></p>
1818

1919
<pre>
20-
<strong>输入:</strong>nums = [<code>4,5,6,7,0,1,2]</code>, target = 0
20+
<strong>输入:</strong>nums = [4,5,6,7,0,1,2], target = 0
2121
<strong>输出:</strong>4
2222
</pre>
2323

2424
<p><strong>示例 2:</strong></p>
2525

2626
<pre>
27-
<strong>输入:</strong>nums = [<code>4,5,6,7,0,1,2]</code>, target = 3
28-
<strong>输出:</strong>-1</pre>
27+
<strong>输入:</strong>nums = [4,5,6,7,0,1,2], target = 3
28+
<strong>输出:</strong>-1
29+
</pre>
2930

3031
<p><strong>示例 3:</strong></p>
3132

@@ -40,10 +41,10 @@
4041

4142
<ul>
4243
<li><code>1 <= nums.length <= 5000</code></li>
43-
<li><code>-10^4 <= nums[i] <= 10^4</code></li>
44+
<li><code>-10<sup>4</sup> <= nums[i] <= 10<sup>4</sup></code></li>
4445
<li><code>nums</code> 中的每个值都 <strong>独一无二</strong></li>
4546
<li>题目数据保证 <code>nums</code> 在预先未知的某个下标上进行了旋转</li>
46-
<li><code>-10^4 <= target <= 10^4</code></li>
47+
<li><code>-10<sup>4</sup> <= target <= 10<sup>4</sup></code></li>
4748
</ul>
4849

4950
<p> </p>

0 commit comments

Comments
 (0)