Tesla interview question

Merge two sorted arrays