Skip to content

Commit 35d4d4f

Browse files
committed
fix the space complex
1 parent dbc17d1 commit 35d4d4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sprint-1/Python/find_common_items/find_common_items.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def find_common_items(
1010
Find common items between two arrays.
1111
1212
Time Complexity: O(n^3)
13-
Space Complexity:O(u)
13+
Space Complexity:O(min(n,m))
1414
Optimal time complexity: O(n+m)
1515
"""
1616

0 commit comments

Comments
 (0)