Pregunta de entrevista de Noom

Given two vectors, design algorithm to find intersection