LeetCode 88. Merge Sorted Array in Java https://leetcode.com/problems/merge-sorted-array/
In this problem we are provided two int[] sorted arrays. We should generate a single sorted array by merging the provided arrays.
If interested read the description of the problem in the LeetCode web site.
If interested in my approach and comments I invite you to visit the following post in my blog:
https://www.johncanessa.com/2021/03/10/merge-sorted-array/
Remember that one of the best ways to learn is to read and experiment.
Enjoy;
John