Why this isn’t working for this problem?
Why this isn't working for this problem?
For this one too. Please tell for both.
ur declaration of result vector is not correct.
it should be vector< int> result(size);
Sir Second mein wrong ans aarha
for loop condition shoudl be i<2*n
1 Like
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.