Pergunta de entrevista da empresa Nordstrom

Given two ordered arrays, return the intersection between the two.