from collections import Counter
class Solution(object):
    def intersect(self, nums1, nums2):
        """
        :type nums1: List[int]
        :type nums2: List[int]
        :rtype: List[int]
        """
        c1, c2 = Counter(nums1), Counter(nums2)
        return list((c1 & c2).elements())

Add py solution for 350. Intersection of Two Arrays II
Add py solution for 350. Intersection of Two Arrays II

350. Intersection of Two Arrays II: https://leetcode.com/problems/intersection-of-two-arrays-ii/
