Pergunta de entrevista da empresa Noom

Given two vectors, design algorithm to find intersection