ARRAYS-SUM OF TWO ARRAYS help

confused with the question could you help me in understanding

https://online.codingblocks.com/player/14290/content/4820?s=2248

Hey, problem is pretty simple, you will be given input in this format

  • N, size of first array
  • N more input numbers, elements of first array
  • M, size of second array
  • M more input numbers, elements of second array

Output
elements of resultant array which will be the sum of arrays.

for eg.
input:
4
1 0 2 9
5
3 4 5 6 7

output:
3, 5, 5, 9, 6, END

How this output comes?
it is pretty simple, treat the two arrays as two numbers and add them like we add two numbers i.e. add the elements from last one by one.

    1 0 2 9
+ 3 4 5 6 7
= 3 5 5 9 6

The link you have shared is not accessible so if you need any help in the code of this problem, then copy your code on ide, save it and share that link here.

Hey Akshay, as you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “Ask Doubt” section, when your doubt is resolved.