i could not understand how the sum of array is taking place in this question given sample input and output please let me know
Array-sum of two arrays challenge
Hi @sarthak732,
The sum is taking place digit wise for example in the test case two number are given 1 0 2 9 and 3 4 5 6 7
So we take the onces digit of both number 9 and 7 and add them which gives 6 and 1 as carry . so then we take number at tens position 2 and 6 … we add them (2+6) and carry which is 1 . so that gives 9 … Like this we have to add the two numbers
thanks i have understood now
Please mark doubt as resolved