instagram

Merge two sorted arrays in a such a way that a newly generated array will be sorted.

Merge two sorted arrays in a such a way that a newly generated array will be sorted.

Here we are going to take two pointers one for each.

Algorithm

Share