Problem with lazy propagation in segment tree?

Can anyone please explain in detail lazy propagation with implementation details. and also point me to some good tutorial sources for learning lazy propagation.

Hey @arpit728,

go through this tutorial, this tutorial is so far the best tutorial that I have read on lazy propagation.

Hope this helps!

@sandeep_007

I have already referred this, but I didn’t get clear idea about lazy propagation from this. Can you point to any other tutorial.

hey @arpit728 see this VIDEO

//