Prefix & difference
Prefix sums, running totals, difference arrays for range updates, and transformed arrays—explained with real-world examples and Python.
Pick a section from the left. Each lesson has its own URL (for example, /resources/prefix-and-difference/difference-array).
