Pls help…it is failing all test cases.I tried many cases including those involving carry over and I was getting the right answer on running it.
Sum Of Two Arrays
Link…
Hi @GreatCoderboy123
This is because for cases like :
5
5 0 2 9 0
5
5 4 5 6 7
your code output is 0, 4, 8, 5, 7, END. But correct output is 1, 0, 4, 8, 5, 7, END