We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3b9226 commit e4270b7Copy full SHA for e4270b7
349. Intersection of Two Arrays.py
@@ -0,0 +1,4 @@
1
+class Solution:
2
+ def intersection(self, nums1: List[int], nums2: List[int]) -> List[int]:
3
+ return set(nums1) & set(nums2)
4
+
0 commit comments