Question link:-https://practice.geeksforgeeks.org/problems/merge-two-sorted-arrays5135/1
Code link:-
Here’s my code for the given question. I have used gapping technique but the problem arises when I am not able to sort the second array. First array always gets sorted. Please, help!