Hi everyone,
I have some questions about segment trees:
How can i do range queries with range updates on 2D arrays using segment trees?
Is there any other way to do it? (range updates with range queries)
Is there anything that can be done by BIT and can't be done by segment trees?
Thanks in advance