diff --git a/notes/3. 数组中重复的数字.md b/notes/3. 数组中重复的数字.md index e9a0e53a..486e635c 100644 --- a/notes/3. 数组中重复的数字.md +++ b/notes/3. 数组中重复的数字.md @@ -24,7 +24,7 @@ Output: 以 (2, 3, 1, 0, 2, 5) 为例,遍历到位置 4 时,该位置上的数为 2,但是第 2 个位置上已经有一个 2 的值了,因此可以知道 2 重复。每次交换都把一个数放到它最终的位置上,放好的数不会再被换走,因此交换最多 n 次,时间复杂度为 O(N): -