the array choosen is 1,2,3,-2,5
the prefix sum is given as 1,3,6,1,6 how is this possible?
Shouldnt the cumulative sum be 1,3,6,4,9
Yes prefix sum must be 1,3,6,4,9
Please mention the video or the question you are referring to so that i can check.
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.