sir what is the mistake in my code
Arrays-Sum of two arrays
Hey these are the problems:
- Take array sizes as 1001 (see constraints)
- In line 12, take m inputs(and not n)
- add using a while loop.(start k from 0, and n-1 and m-1, this way, your answer will be stored in reverse fashion)
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.