How does the merged array look like?

Please give the merged array for the testcase given.

array will be in sorted order only
1 2 3 4 5 6 7 8 9 10