Algorithmic Gems — Accumulation
"Whenever you find yourself dealing with ranges, think about storing data in cumulative form."
Read more about "Accumulation and Prefix Sums" here. Would love to hear any feedback.
Atcoder ABC #351 Short Solution Discussion
Codeforces Round 941 (Div 1 + 2) Solution Discussion (with Jan)