Nagarro interview question

Merge two arrays and create a merge d array that is sorted