LeetCode
Intersection of Two Arrays
Click
here
for an explanation.