class Solution:
    def get_interesection(self, nums1, nums2):
        set1 = set(nums1)
        intersection = set()
        for num in nums2:
            if num in set1:
                intersection.add(num)
        return list(intersection)

    