Question d’entretien chez Criteo

Write a code to retrieve the same number in 2 sorted arrays