The Algorithms logo
The Algorithms
AboutDonate

Range Queries

Heavy Light Decomposition

Prefix Sum Array

Persistent Seg Tree Lazy Prop