Skip to content

fix: invalid tag #757

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions lcof/面试题57. 和为s的两个数字/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<p><strong>限制:</strong></p>

<ul>
<li><code>1 &lt;= nums.length &lt;= 10^5</code></li>
<li><code>1 &lt;= nums[i]&nbsp;&lt;= 10^6</code></li>
<li><code>1 &lt;= nums.length &lt;= 10<sup>5</sup></code></li>
<li><code>1 &lt;= nums[i]&nbsp;&lt;= 10<sup>6</sup></code></li>
</ul>

## 解法
Expand All @@ -36,10 +36,10 @@
- 存在,即 `return` 返回。
- 不存在,记录元素,继续遍历。

_复杂度_
*复杂度*

- 时间 **_O(N)_**
- 空间 **_O(N)_**
- 时间 ***O(N)***
- 空间 ***O(N)***

**双指针**

Expand All @@ -52,10 +52,10 @@ _复杂度_:

> 因为数组是有序的,指针变动对值的影响可预测。

_复杂度_
*复杂度*

- 时间 **_O(N)_**
- 空间 **_O(1)_**
- 时间 ***O(N)***
- 空间 ***O(1)***

```txt
TWO-SUM(A,t)
Expand Down