Pastable version of Find the Intersection of Arrays with a Hash