Array - sum of two arrays


can some one please whats wrong in it

Hello @sarthaksingh,

Correct your code for the following test cases:
Example 1:
5
3 4 5 6 7
4
1 0 2 9
Expected Answer:
5
3 4 5 6 7
4
1 0 2 9

Example 2:
4
1 0 2 9
5
9 4 5 6 7

Hope, this would help.

1 Like