Sponsored
Use these hints if you're stuck. Try solving on your own first.
Think about how we can calculate the i-th number in the running sum from the (i-1)-th number.
Solve with full IDE support and test cases