Sponsored
Use these hints if you're stuck. Try solving on your own first.
For each integer in nums1, check if it exists in nums2.
Do the same for each integer in nums2.
Solve with full IDE support and test cases