Question d’entretien chez Baidu

Two sorted array, find their intersection, write exact code