Baidu interview question

Two sorted array, find their intersection, write exact code