Domanda di colloquio di Nordstrom

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