Https://ide.codingblocks.com/s/468237

I understood the logic behind this but i am not able to understand that how to cover the gap of size between the two arrays due to which my answer is coming wrong

hello @architsuryavanshi

first add elements from both the array till u exhast one of the array.

and then add the remaining part of left array as it is to the resultant array.

check this->