I tried attempting CSES Prefix Sum Queries using lazy segment tree.
Can someone explain to me exactly why my logic fails??
*Edit -> I realized that I was not changing the values in the original array and so I included that in the solution and it still fails -> Solution