Varian Medical Systems interview question

Write an algorithm to merge two sorted arrays