Module Difference array

Difference array

Frequency: 7/10

An application of prefix sum.

Resources

- [Codeforces blog: An Introduction To Difference Arrays](https://codeforces.com/blog/entry/78762)

Problems

Range update 413 / 433 800
2D range update 263 / 267 800
Bulk range update 209 / 228 900
Climbing 33 / 44 1000
Stair range update 166 / 200 1100