partial sum code example
Example: what does we mean by partial sum
one of a series of sums of elements of a given sequence, the first sum
being the first element, the second sum being the first element added
to the second element, the third sum being equal to the sum of the first
three elements, and so on.