merge Sorted Array

Only One Case, more cases can be added, and it's not the question. What
I should learn is how to deal with boundary.