Segment Tree

Problems on segment trees, including sums, minimums and maximums on a segment with updates, lazy propagation for range assignment and addition, counting elements on a segment, merge sort trees and persistent segment trees.

The prefix sums article in the Basics section covers the case without updates. Related problem sets are under Fenwick tree, Range queries and Data structures.

Problemas

Simple Hull#12841

Muy difícil (≈2050)

Typical ICPC Problem#12869

Muy difícil (≈2050)

Increasing Split Swapper#12891

Muy difícil (≈2050)

Неспадний#12913

Muy difícil (≈2050)

Circuito Espejo#13046

Muy difícil (2100)

126-133 de 133