Devalore Interview Question

Find with complexity o(n) common numbers for two sorted arrays with different lengths.