Pregunta de entrevista de Baidu

Two sorted array, find their intersection, write exact code