Two test cases are not passing
hello @igarg145
for input
4
9 9 9 9
4
9 9 9 9
correct output -> 1, 0, 9, 9, 8, END
urs us giving 10, 9, 9, 8, END
dont merge left over carry with sum[0] , print carry separately and then ur sum arrAY
hello @igarg145
for input
4
9 9 9 9
4
9 9 9 9
correct output -> 1, 0, 9, 9, 8, END
urs us giving 10, 9, 9, 8, END
dont merge left over carry with sum[0] , print carry separately and then ur sum arrAY