please help me
All test cases not passing{aarrays sum qstn)
@dbhavanishankar89 Consider the test case:
4
1 0 2 9
4
9 1 1 1
Expected Output :
1, 0, 1, 4, 0, END
Your Output :
10, 1, 4, 0, END
or
3
5 5 5
3
5 5 5
your code’s output:
11, 1, 0, END
but the expected output is:
1, 1, 1, 0, END
So you need to consider another case where there could be a carryover and the size of the resultant array would be greater than either of the given arrays.
Hope this helps 