Problem 307 · Medium

Range Sum Query - Mutable

Update elements and query sums efficiently using segment tree.

Open the interactive visualisation