Rosetta Problems

Sum of Consecutive Subarrays

https://leetcode.com/problems/sum-of-consecutive-subarrays