Prefix Sums: Range Totals, Counts and Difference Arrays · DSA Patterns for Working Engineers · aiiolar