Domanda di colloquio di Baidu

Two sorted array, find their intersection, write exact code