We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e48a01 commit b73a14fCopy full SHA for b73a14f
Algorithm/Interview-3.md
@@ -15,7 +15,9 @@
15
3. 如果它和第 m 个数字相等,就找到了一个重复的数字(该数字在下标为 i 和 m 的位置都出现了);
16
4. 如果它和第 m 个数字不相等,就把第 i 个数字和第 m 个数字交换,把 m 放到属于它的位置。接下来再重复这个比较、交换的过程,直到我们发现一一个重复的数字。
17
18
-**时间复杂度 O(n),空间复杂度 O(1)**
+**时间复杂度 O(n),空间复杂度 O(1),以下代码可提交至:**
19
+
20
+[https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof/](https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof/)
21
22
```python
23
from typing import List
0 commit comments