The Algorithms logo
The Algorithms
AboutDonate

Range Queries

Prefix Sum Array

Heavy Light Decomposition

Persistent Seg Tree Lazy Prop