Skip to content

Commit 6ba351e

Browse files
authored
Update duplicate-integer.md
1 parent 49ac582 commit 6ba351e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: articles/duplicate-integer.md

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ class Solution:
1515
* Time complexity: $O(n^2)$
1616
* Space complexity: $O(1)$
1717

18+
---
19+
1820
## 2. Sorting
1921

2022
```python
@@ -32,6 +34,8 @@ class Solution:
3234
* Time complexity: $O(n \log n)$
3335
* Space complexity: $O(1)$ or $O(n)$ depending on the sorting algorithm.
3436

37+
---
38+
3539
## 3. Hash Set
3640

3741
```python
@@ -50,6 +54,8 @@ class Solution:
5054
* Time complexity: $O(n)$
5155
* Space complexity: $O(n)$
5256

57+
---
58+
5359
## 4. Hash Set Length
5460

5561
```python

0 commit comments

Comments
 (0)