Merge two sorted arrays in-place | Walmart Labs Interview Question