Unable to pass all testcases


please help

try reversing both the arrays and then performing addition at each index. then finally print result using again reversing the array

whats wrong with this approach?

Consider this input
3
9 9 9
1
1

ur output 0, 0, 0, END
maybe u can figure out ur mistake now (u are not considering the last carry)

resolved the error still only 2 testcases cleared

ok let me dubug ur code

image
see output format is not matching. try to correct that. comma followed by space needed after 1

I believe coma and END are correct since 2 testcases are already cleared

those test cases would not be considering the last carry
3
9 9 9
1
1
for this input output format is not matching. although output is correct in terms of value but comma followed by space are missing

try to handle this case

ok got it, trying to correct

done. Thanks for ur heap

help********************

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.