Skip to content

Commit 5613a19

Browse files
authored
Update intersection-of-multiple-arrays.py
1 parent 2cef257 commit 5613a19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/intersection-of-multiple-arrays.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def intersection(self, nums):
1818

1919
# Time: O(n * l + r), n = len(nums), l = len(nums[0]), r = max(nums)-min(nums)
2020
# Space: O(l)
21-
# set, counting sort
21+
# hash table, counting sort
2222
class Solution2(object):
2323
def intersection(self, nums):
2424
"""
@@ -33,7 +33,7 @@ def intersection(self, nums):
3333

3434
# Time: O(n * l + llogl), n = len(nums), l = len(nums[0])
3535
# Space: O(l)
36-
# set, sort
36+
# hash table, sort
3737
class Solution3(object):
3838
def intersection(self, nums):
3939
"""

0 commit comments

Comments
 (0)