Two test cases are wrong in array of two sum

@tarangsinghal2
Your code fails for testcases when the output array is larger than either of the two input arrays.
Input :
4
9 9 9 9
4
4 2 8 1

Expected Output :
1, 4, 2, 8, 0, END

Your Output :
4, 2, 8, 0, END

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.