AlgoMaster Logo

Intersection of Two Arrays II

nums1=[1, 2, 2, 1],nums2=[2, 2]
0 / 16
nums1 (sorted):01112232nums2 (sorted):0212Result:[ ]
algomaster.io
Step:Start: Find intersection of two arrays using two pointers