Siemens interview question

code to Merge 2 sorted arrays