This repository has been archived on 2022-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
usaco-guide/content/6_Plat/RURQ.md
2020-06-24 16:50:30 -04:00

1.6 KiB

id title author prerequisites description
RURQ Range Update Range Query Benjamin Qi
Gold - Point Update Range Query
Lazy updates on segment trees and two binary indexed trees in conjunction.

CPH 28.1 (Segment Trees Revisited)

Lazy Segment Tree

(problem that's only increment with no sets?)

- use segment tree that keeps track of minimum and # of minimums

BIT Revisited

Binary Indexed Trees can support range increments in addition to range sum queries.