Range queries
Problems on range queries, including the sum, minimum, XOR or count over a segment of an array, queries with updates, and answering many such queries faster than a loop over each segment.
The prefix sums article in the Basics section covers the static case. Related problem sets are under Segment tree, Fenwick tree and Sparse table.
Problems
Range Minimum Query#3615
Very easy
RMQ in reverse#5204
Very hard
RMQ#5472
Easy
Kaleidoscope#5552
Very hard
Do use segment tree#5839
Very hard
Interval Product#6603
Medium
Joining Couples#6604
Very hard
Sapper#8276
Hard
Be Geeks!#9760
Very hard
Mowing the Field#10602
Very hard
Painting#11032
Hard