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 451 / 470 800
2D range update 287 / 292 800
Bulk range update 227 / 246 900
Climbing 44 / 59 1000
Stair range update 179 / 214 1100