LeetCode
Intersection of Two Arrays II
Click
here
for an explanation.