And this code too
Both are not working.
And this code too
Both are not working.
@cbcao263
u are not printing END
your iterator will be while(min(i,j)> = 0) in line 23/25
for the leftover cases u are only considering diff of 1 in m n .make it while(i>=0) or while(j>=0)
u are not taking care of the carryover left after your while(min(i,j)>= 0) loop for eg 234 + 94 gives u 228 whereas it should be 338
correct all these
Is it Correct One
Please help ASAP.
@cbcao263 no it is wrong
dry run for cases like
4
1 0 2 9
6
3 4 9 5 6 7
you get
4, 5, 6, 2, 9, 6, END