https://medium.com/@slicesharpy/leetcode-88-merge-sorted-array-from-naive-to-optimal-solution-1b2eadf7380a