For now lazy segment tree update is only support adding a particular value over a range.
But this can be made dynamic by introducing an update function ( for multiplication, xor, and many more operations)same like we have support for query (func=max function).
For now lazy segment tree update is only support adding a particular value over a range. But this can be made dynamic by introducing an update function ( for multiplication, xor, and many more operations)same like we have support for query (func=max function).