I am getting some garbage values while implementing the Lazy Propagation Query in Segment Trees instead of the desired values as shown in the video. Need help to debug the error.
Code Link :
Getting some different values as answer
My query is still not solved. No response from TAs…
see this: