Noom interview question

Given two vectors, design algorithm to find intersection