3solutions for merge sorted array. Useful way to merge array in place.