leetcode-https://leetcode.com/problems/two-sum/
This is a very simple I did it in n2 complexity
But I dont know why thecode is not working .
please correct my code and send it to me/plz
leetcode-https://leetcode.com/problems/two-sum/
This is a very simple I did it in n2 complexity
But I dont know why thecode is not working .
please correct my code and send it to me/plz
There is no parameter as output in the given code format. You have to declare a new vector in the function itself.
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.