Skip to content

Commit d76b401

Browse files
Fix: Apply black formatting to remove_duplicates.py
Add blank lines after imports and before function definition to comply with black code formatting style, which is checked by CI. Co-Authored-By: Keon <[email protected]>
1 parent 19448fe commit d76b401

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

algorithms/arrays/remove_duplicates.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
Time Complexity: O(n) for hashable items, O(n²) worst case for unhashable items
1111
Space Complexity: O(n) for the seen set and result array
1212
"""
13+
1314
from collections.abc import Hashable
1415

16+
1517
def remove_duplicates(array):
1618
seen = set()
1719
new_array = []

0 commit comments

Comments
 (0)