kindly look into the problem
The problem statement and the sample input does not match
Hello @shiva57reddy,
It does match.
Consider the addition of arrays as sum of two numbers that you have learnt in mathematics.
Let’s understand this with the help of the sample input given in the question:
4
1 0 2 9
5
3 4 5 6 7
for once, cosider these array as two numbers: 1029 and 34567.
Now adding these two the way you do in maths:
1029+34567= 35596
Thus, the output is:
3, 5, 5, 9, 6, END (This is just the output format that can be easily created using count statements)
Hope, this would help.
Give a like, if you are satisfied.