Please explain me, why a[i] = - a[i]; (line no 26)
Also, this code is not working. Please figure this out and explain me
Please explain me, why a[i] = - a[i]; (line no 26)
Also, this code is not working. Please figure this out and explain me
this is done to get the sum of non-contributing elements in circular array
there is another better way to do this which is more logical
for complete explanation watch this video
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.