#46 - Intersection of Two Array

You are given two arrays of integers. Your task is to implement a function to find the intersection of these two arrays.

nums1 = [1, 2, 2, 1]
nums2 = [2, 2]
[2]

Last updated