Verkada Interview Question

Intersection of two arrays