Qualcomm Interview Question

write an algorithm to merge 2 arrays.